mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-29 06:02:38 +01:00
Replaced the old-style irc.queuemsg with newer irc.error
This commit is contained in:
parent
5ff709375e
commit
a2c6084fd9
@ -192,8 +192,7 @@ class Gameknot(callbacks.PrivmsgCommandAndRegexp):
|
||||
(gameTitle, wName, wStats, bName, bStats, toMove)
|
||||
irc.reply(msg, s, prefixName=False)
|
||||
except ValueError:
|
||||
irc.queueMsg(callbacks.reply(msg,
|
||||
'That doesn\'t appear to be a proper Gameknot game.'))
|
||||
irc.error(msg,'That doesn\'t appear to be a proper Gameknot game.')
|
||||
except Exception, e:
|
||||
irc.error(msg, debug.exnToString(e))
|
||||
|
||||
|
@ -230,8 +230,8 @@ class Sourceforge(callbacks.PrivmsgCommandAndRegexp):
|
||||
linktype = linktype[:-1]
|
||||
irc.reply(msg, '%s #%s: %s' % (linktype, num, desc))
|
||||
except AttributeError, e:
|
||||
irc.queueMsg(callbacks.reply(msg,
|
||||
'That doesn\'t appear to be a proper Sourceforge bug/rfe.'))
|
||||
irc.error(msg, 'That doesn\'t appear to be a proper Sourceforge '\
|
||||
'Tracker page.')
|
||||
except Exception, e:
|
||||
irc.error(msg, debug.exnToString(e))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user