mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-02 23:54:08 +01:00
Irc: fix NameError caused by 0c7faed
This commit is contained in:
parent
aa05dcd112
commit
9236f7e095
@ -470,7 +470,7 @@ class Irc():
|
||||
for func in world.commands[cmd]:
|
||||
try:
|
||||
func(self, source, cmd_args)
|
||||
except NotAuthenticatedError:
|
||||
except utils.NotAuthenticatedError:
|
||||
self.msg(self.called_by or source, 'Error: You are not authorized to perform this operation.')
|
||||
except Exception as e:
|
||||
log.exception('Unhandled exception caught in command %r', cmd)
|
||||
|
Loading…
Reference in New Issue
Block a user