Made this error an error.

This commit is contained in:
Jeremy Fincher 2004-09-29 18:54:49 +00:00
parent e67daa9338
commit a75857ee3b

View File

@ -363,10 +363,8 @@ class Lookup(callbacks.Privmsg):
irc.reply(utils.commaAndify(lookups)) irc.reply(utils.commaAndify(lookups))
except dbi.NoRecordError: except dbi.NoRecordError:
irc.reply('No entries in %s matched that query.' % name) irc.reply('No entries in %s matched that query.' % name)
return
else: else:
irc.reply('I don\'t have a domain %s' % name) irc.error('I don\'t have a domain %s' % name)
return
def _lookup(self, irc, msg, args): def _lookup(self, irc, msg, args):
"""<name> <key> """<name> <key>