mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
utils: fix error handling in parseModes
This commit is contained in:
parent
8bde21f1e6
commit
c0eab152e4
2
utils.py
2
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']:
|
||||
|
Loading…
Reference in New Issue
Block a user