From c0eab152e43eb25acf7351ad668ca19151a9cda2 Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 8 Oct 2015 20:59:31 -0700 Subject: [PATCH] utils: fix error handling in parseModes --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index b806174..d5125e7 100644 --- a/utils.py +++ b/utils.py @@ -220,7 +220,7 @@ def parseModes(irc, target, args): arg = nickToUid(irc, arg) or arg if arg not in irc.users: # Target doesn't exist, skip it. log.debug('(%s) Skipping setting mode "%s %s"; the ' - 'target doesn\'t seem to exist!', self.name, + 'target doesn\'t seem to exist!', irc.name, mode, arg) continue elif prefix == '+' and mode in supported_modes['*C']: