fixed a minor (but crash-causing) typo in IRCServer.py.

This commit is contained in:
jesopo 2016-05-17 17:58:20 +01:00
parent e5dfd04045
commit 3880030136
No known key found for this signature in database
GPG key ID: 0BBDEB2AEFCFFCB3

View file

@ -188,7 +188,7 @@ class Server(object):
"" if key == None else " %s" % key))
def send_part(self, channel_name, reason=None):
self.send("PART %s%s" % (channel_name,
"" if key == None else " %s" % reason))
"" if reason == None else " %s" % reason))
def send_quit(self, reason="Leaving"):
self.send("QUIT :%s" % reason)
def send_message(self, target, message):