mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Prevent two replies when @weather succeeds
This commit is contained in:
parent
91c6cb51e5
commit
e4fa4dec7b
@ -131,7 +131,7 @@ class Weather(callbacks.Privmsg):
|
||||
try:
|
||||
getattr(self, command)(irc, msg, args[:])
|
||||
self.log.info('%s lookup succeeded.', command)
|
||||
break
|
||||
return
|
||||
except NoLocation:
|
||||
self.log.info('%s lookup failed as backup.', command)
|
||||
irc.error('Could not retrieve weather for %s.' %
|
||||
|
Loading…
Reference in New Issue
Block a user