mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 01:19:26 +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:
|
if self._rouletteChamber == self._rouletteBullet:
|
||||||
self._rouletteBullet = random.randrange(0, 6)
|
self._rouletteBullet = random.randrange(0, 6)
|
||||||
self._rouletteChamber = 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!'))
|
irc.queueMsg(ircmsgs.kick(channel, msg.nick, 'BANG!'))
|
||||||
else:
|
else:
|
||||||
irc.reply(_('*BANG* Hey, who put a blank in here?!'),
|
irc.reply(_('*BANG* Hey, who put a blank in here?!'),
|
||||||
|
Loading…
Reference in New Issue
Block a user