|
|
|
|
763
|
def privmsg(self, target, text):
|
763
|
def privmsg(self, target, text):
|
764
|
"""Send a PRIVMSG command."""
|
764
|
"""Send a PRIVMSG command."""
|
765
|
# Should limit len(text) here!
|
765
|
# Should limit len(text) here!
|
766
|
- self.send_raw(u'PRIVMSG %s :%s' % (target, text))
|
|
|
|
|
766
|
+ self.send_raw("PRIVMSG %s :%s" % (target, text))
|
767
|
|
767
|
|
768
|
def privmsg_many(self, targets, text):
|
768
|
def privmsg_many(self, targets, text):
|
769
|
"""Send a PRIVMSG command to multiple targets."""
|
769
|
"""Send a PRIVMSG command to multiple targets."""
|
770
|
# Should limit len(text) here!
|
770
|
# Should limit len(text) here!
|
771
|
- self.send_raw(u'PRIVMSG %s :%s' % (','.join(targets), text))
|
|
|
|
|
771
|
+ self.send_raw("PRIVMSG %s :%s" % (",".join(targets), text))
|
772
|
|
772
|
|
773
|
def quit(self, message=""):
|
773
|
def quit(self, message=""):
|
774
|
"""Send a QUIT command."""
|
774
|
"""Send a QUIT command."""
|