mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
Games: Add halfop support in @roulette.
This commit is contained in:
parent
c37d8c9310
commit
ac3724d326
@ -131,7 +131,8 @@ class Games(callbacks.Plugin):
|
||||
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?!'),
|
||||
|
Loading…
Reference in New Issue
Block a user