mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-03-01 20:10:43 +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))
|
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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user