mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
reason should be 'text'
This commit is contained in:
parent
4ca62e60fd
commit
54f77f914b
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user