mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +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'):
|
||||
(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))
|
||||
return
|
||||
if not reason:
|
||||
|
Loading…
Reference in New Issue
Block a user