mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Ignore no user error when trying to set last location
This commit is contained in:
parent
145024af2b
commit
583f08f3da
@ -97,7 +97,8 @@ class Weather(callbacks.Privmsg):
|
||||
args = [s]
|
||||
else:
|
||||
location = privmsgs.getArgs(args)
|
||||
self.setUserValue(msg.prefix, 'lastLocation', location)
|
||||
self.setUserValue(msg.prefix, 'lastLocation',
|
||||
location, ignoreNoUser=True)
|
||||
realCommandName = self.registryValue('command', channel)
|
||||
realCommand = getattr(self, realCommandName)
|
||||
realCommand(irc, msg, args)
|
||||
|
Loading…
Reference in New Issue
Block a user