fixed a minor (but crash-causing) typo in IRCServer.py.
This commit is contained in:
parent
e5dfd04045
commit
3880030136
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ class Server(object):
|
||||||
"" if key == None else " %s" % key))
|
"" if key == None else " %s" % key))
|
||||||
def send_part(self, channel_name, reason=None):
|
def send_part(self, channel_name, reason=None):
|
||||||
self.send("PART %s%s" % (channel_name,
|
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"):
|
def send_quit(self, reason="Leaving"):
|
||||||
self.send("QUIT :%s" % reason)
|
self.send("QUIT :%s" % reason)
|
||||||
def send_message(self, target, message):
|
def send_message(self, target, message):
|
||||||
|
|
Loading…
Reference in a new issue