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

View File

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