mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 12:12:54 +01:00
Oops, forgot a state. It's like seventh grade geography all over again\!
This commit is contained in:
parent
9a4a6adc8a
commit
9c64990fca
@ -268,7 +268,7 @@ class Channel(callbacks.Privmsg):
|
|||||||
"""
|
"""
|
||||||
if self.haveOps(irc, channel, 'kick someone'):
|
if self.haveOps(irc, channel, 'kick someone'):
|
||||||
(nick, reason) = privmsgs.getArgs(args, optional=1)
|
(nick, reason) = privmsgs.getArgs(args, optional=1)
|
||||||
if nick not in irc.channels[channel].users:
|
if nick not in irc.state.channels[channel].users:
|
||||||
irc.error('%s isn\'t in %s.' % (nick, channel))
|
irc.error('%s isn\'t in %s.' % (nick, channel))
|
||||||
return
|
return
|
||||||
if not reason:
|
if not reason:
|
||||||
|
Loading…
Reference in New Issue
Block a user