From 36095341e1a0d05afeac6aaf919e428b8be9665c Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 7 Dec 2004 07:12:47 +0000 Subject: [PATCH] Fix for bug in Network.command. --- plugins/Network.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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.