reason should be 'text'

This commit is contained in:
James Vega 2004-11-03 20:20:34 +00:00
parent 4ca62e60fd
commit 54f77f914b

View File

@ -289,7 +289,7 @@ class Channel(callbacks.Privmsg):
kick = wrap(kick, [('checkChannelCapability', 'op'),
('haveOp', 'kick someone'),
'nickInChannel',
additional('anything')])
additional('text')])
def kban(self, irc, msg, args,
optlist, channel, bannedNick, length, reason):
@ -390,7 +390,7 @@ class Channel(callbacks.Privmsg):
('haveOp', 'kick or ban someone'),
'nickInChannel',
optional('expiry', 0),
additional('anything')])
additional('text')])
def unban(self, irc, msg, args, channel, hostmask):
"""[<channel>] <hostmask>