IRCChannel.send_part should have a self param!

This commit is contained in:
jesopo 2018-10-04 14:45:14 +01:00
parent b00819d581
commit 72602e13f9

View file

@ -127,7 +127,7 @@ class Channel(IRCObject.Object):
self.server.send_mode(self.name, "-b", hostmask) self.server.send_mode(self.name, "-b", hostmask)
def send_topic(self, topic): def send_topic(self, topic):
self.server.send_topic(self.name, topic) self.server.send_topic(self.name, topic)
def send_part(reason=None): def send_part(self, reason=None):
self.server.send_part(self.name, reason) self.server.send_part(self.name, reason)
def mode_or_above(self, user, mode): def mode_or_above(self, user, mode):