3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 03:29:28 +01:00

opercmds: switch to irc.parseModes()

This commit is contained in:
James Lu 2016-06-08 16:39:46 -07:00
parent e1d3003683
commit 9952f08c8f

View File

@ -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.