diff --git a/plugins/Admin/plugin.py b/plugins/Admin/plugin.py index 5848b4322..ae6ebf1ff 100644 --- a/plugins/Admin/plugin.py +++ b/plugins/Admin/plugin.py @@ -350,6 +350,16 @@ class Admin(callbacks.Plugin): irc.replySuccess() clearq = wrap(clearq) + def acmd(self, irc, msg, args, commandAndArgs): + """ [ ...] + + Perform (with associated s on all channels on current network.""" + for channel in irc.state.channels: + msg.args[0] = channel + self.Proxy(irc, msg, commandAndArgs) + acmd = wrap(acmd, ['admin', many('something')]) + + Class = Admin diff --git a/plugins/Network/plugin.py b/plugins/Network/plugin.py index 592fd40fa..449029a68 100644 --- a/plugins/Network/plugin.py +++ b/plugins/Network/plugin.py @@ -157,7 +157,7 @@ class Network(callbacks.Plugin): command = wrap(command, ['admin', ('networkIrc', True), many('something')]) def cmdall(self, irc, msg, args, commandAndArgs): - """ ... + """ [ ...] Perform (with its associated s) on all networks. """ @@ -165,7 +165,7 @@ class Network(callbacks.Plugin): for ircd in ircs: self.Proxy(ircd, msg, commandAndArgs) cmdall = wrap(cmdall, ['admin', many('something')]) - + ### # whois command-related stuff. ###