mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
opercmds: switch to irc.parseModes()
This commit is contained in:
parent
e1d3003683
commit
9952f08c8f
@ -210,7 +210,7 @@ def mode(irc, source, args):
|
|||||||
irc.reply("Error: No valid modes were given.")
|
irc.reply("Error: No valid modes were given.")
|
||||||
return
|
return
|
||||||
|
|
||||||
parsedmodes = utils.parseModes(irc, target, modes)
|
parsedmodes = irc.parseModes(target, modes)
|
||||||
|
|
||||||
if not parsedmodes:
|
if not parsedmodes:
|
||||||
# Modes were given but they failed to parse into anything meaningful.
|
# Modes were given but they failed to parse into anything meaningful.
|
||||||
|
Loading…
Reference in New Issue
Block a user