Permalink
Browse files

Games: Add halfop support in @roulette.

  • Loading branch information...
1 parent c37d8c9 commit ac3724d32602146cc1026d412efbdadd8e44af9b @ProgVal committed Jul 13, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 plugins/Games/plugin.py
View
3 plugins/Games/plugin.py
@@ -131,7 +131,8 @@ def roulette(self, irc, msg, args, spin):
if self._rouletteChamber == self._rouletteBullet:
self._rouletteBullet = random.randrange(0, 6)
self._rouletteChamber = random.randrange(0, 6)
- if irc.nick in irc.state.channels[channel].ops:
+ if irc.nick in irc.state.channels[channel].ops or \
+ irc.nick in irc.state.channels[channel].halfops:
irc.queueMsg(ircmsgs.kick(channel, msg.nick, 'BANG!'))
else:
irc.reply(_('*BANG* Hey, who put a blank in here?!'),

0 comments on commit ac3724d

Please sign in to comment.