From 9236f7e09521199744d9bd4b7e9a85860574bef7 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 14 May 2016 12:19:38 -0700 Subject: [PATCH] Irc: fix NameError caused by 0c7faed --- classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes.py b/classes.py index 3cb9dd7..9190048 100644 --- a/classes.py +++ b/classes.py @@ -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)