Skip to content

Commit

Permalink
Fix coding style and remove unneeded command
Browse files Browse the repository at this point in the history
  • Loading branch information
IotaSpencer authored and progval committed Feb 6, 2014
1 parent 974dc00 commit b8fa701
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/Network/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,16 +140,17 @@ def command(self, irc, msg, args, otherIrc, commandAndArgs):
"""
self.Proxy(otherIrc, msg, commandAndArgs)
command = wrap(command, ['admin', ('networkIrc', True), many('something')])

def cmdall(self, irc, msg, args, commandAndArgs):
"""<command> <args>...
Perform <command> (with its associated <arg>s) on all networks.
"""
ircs = world.ircs
for ircd in ircs:
#ircd.queueMsg(ircmsgs.IrcMsg(prefix="", command=commandAndArgs, args="", msg=""))
self.Proxy(ircd, msg, commandAndArgs)
cmdall = wrap(cmdall, ['admin', many('something')])

###
# whois command-related stuff.
###
Expand Down

0 comments on commit b8fa701

Please sign in to comment.