Oops, forgot a state. It's like seventh grade geography all over again\!

This commit is contained in:
Jeremy Fincher 2004-08-19 15:49:32 +00:00
parent 9a4a6adc8a
commit 9c64990fca
1 changed files with 1 additions and 1 deletions

View File

@ -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: