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