diff --git a/plugins/Network.py b/plugins/Network.py index 132ba2957..400214ebe 100644 --- a/plugins/Network.py +++ b/plugins/Network.py @@ -124,14 +124,13 @@ class Network(callbacks.Privmsg): irc.replySuccess() reconnect = wrap(reconnect, ['owner', 'networkIrc', additional('text')]) - def command(self, irc, msg, args, otherIrc, command, commandArgs): + def command(self, irc, msg, args, otherIrc, commandAndArgs): """ [ ...] Gives the bot (with its associated s) on . """ - self.Proxy(otherIrc, msg, commandArgs) - command = wrap(command, ['admin', ('networkIrc', True), - 'commandName', any('something')]) + self.Proxy(otherIrc, msg, commandAndArgs) + command = wrap(command, ['admin', ('networkIrc', True), many('something')]) ### # whois command-related stuff.