mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +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]
|
args = [s]
|
||||||
else:
|
else:
|
||||||
location = privmsgs.getArgs(args)
|
location = privmsgs.getArgs(args)
|
||||||
self.setUserValue(msg.prefix, 'lastLocation', location)
|
self.setUserValue(msg.prefix, 'lastLocation',
|
||||||
|
location, ignoreNoUser=True)
|
||||||
realCommandName = self.registryValue('command', channel)
|
realCommandName = self.registryValue('command', channel)
|
||||||
realCommand = getattr(self, realCommandName)
|
realCommand = getattr(self, realCommandName)
|
||||||
realCommand(irc, msg, args)
|
realCommand(irc, msg, args)
|
||||||
|
Loading…
Reference in New Issue
Block a user