Replaced the old-style irc.queuemsg with newer irc.error

This commit is contained in:
James Vega 2003-10-17 14:18:00 +00:00
parent 5ff709375e
commit a2c6084fd9
2 changed files with 3 additions and 4 deletions

View File

@ -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))

View File

@ -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))