mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-25 20:41:21 -05:00
Update plugin.py
This commit is contained in:
parent
a1874c9377
commit
cd5e994b94
@ -503,16 +503,18 @@ class Jeopardy(callbacks.Plugin):
|
|||||||
pass
|
pass
|
||||||
try:
|
try:
|
||||||
schedule.removeEvent('next_%s' % channel)
|
schedule.removeEvent('next_%s' % channel)
|
||||||
except KeyError:
|
except:
|
||||||
irc.error(_('No Jeopardy! game started.'))
|
pass
|
||||||
if channel in self.games:
|
try:
|
||||||
if self.games[channel].active:
|
self.games[channel].stop()
|
||||||
self.games[channel].stop()
|
del self.games[channel]
|
||||||
else:
|
irc.reply(_('Jeopardy! stopped.'))
|
||||||
|
except:
|
||||||
|
try:
|
||||||
del self.games[channel]
|
del self.games[channel]
|
||||||
irc.reply(_('Jeopardy! stopped.'))
|
return
|
||||||
else:
|
except:
|
||||||
irc.noReply()
|
return
|
||||||
stop = wrap(stop, ['channel'])
|
stop = wrap(stop, ['channel'])
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user