mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-29 06:02:38 +01:00
Made this error an error.
This commit is contained in:
parent
e67daa9338
commit
a75857ee3b
@ -363,10 +363,8 @@ class Lookup(callbacks.Privmsg):
|
||||
irc.reply(utils.commaAndify(lookups))
|
||||
except dbi.NoRecordError:
|
||||
irc.reply('No entries in %s matched that query.' % name)
|
||||
return
|
||||
else:
|
||||
irc.reply('I don\'t have a domain %s' % name)
|
||||
return
|
||||
irc.error('I don\'t have a domain %s' % name)
|
||||
|
||||
def _lookup(self, irc, msg, args):
|
||||
"""<name> <key>
|
||||
|
Loading…
Reference in New Issue
Block a user