optional* oops
This commit is contained in:
parent
b0e19aa9fb
commit
bf09618d0b
1 changed files with 1 additions and 1 deletions
2
irc.py
2
irc.py
|
@ -629,7 +629,7 @@ class PesterHandler(DefaultCommandHandler):
|
|||
def inviteonlychan(self, server, handle, channel, msg):
|
||||
self.parent.chanInviteOnly.emit(channel)
|
||||
# This can cause a crash without mode_params, channelmodeis can have six arguments.
|
||||
def channelmodeis(self, server, handle, channel, modes, mode_params):
|
||||
def channelmodeis(self, server, handle, channel, modes, mode_params=""):
|
||||
self.parent.modesUpdated.emit(channel, modes)
|
||||
def cannotsendtochan(self, server, handle, channel, msg):
|
||||
self.parent.cannotSendToChan.emit(channel, msg)
|
||||
|
|
Loading…
Reference in a new issue