comparison irclib.py @ 221:1a82d5d40d90

moved irc_id handling to irclib Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Sun, 07 Mar 2010 14:00:21 +0100
parents 63289aa1dea7
children 1439d3274e6a
comparison
equal deleted inserted replaced
220:5726a0833537 221:1a82d5d40d90
767 arguments = arguments[1:] 767 arguments = arguments[1:]
768 768
769 if command == "mode": 769 if command == "mode":
770 if not is_channel(target): 770 if not is_channel(target):
771 command = "umode" 771 command = "umode"
772
773 if command == "join":
774 self.irc_id = prefix
775 if DEBUG:
776 print "irc_id: %s" % (prefix)
772 777
773 if DEBUG: 778 if DEBUG:
774 print "command: %s, source: %s, target: %s, arguments: %s" % ( 779 print "command: %s, source: %s, target: %s, arguments: %s" % (
775 command, prefix, target, arguments) 780 command, prefix, target, arguments)
776 781