Fix coding style and remove unneeded command

This commit is contained in:
Iota Spencer 2014-02-05 19:06:01 -05:00 committed by Valentin Lorentz
parent 974dc00d29
commit b8fa70172a

View File

@ -140,6 +140,7 @@ class Network(callbacks.Plugin):
""" """
self.Proxy(otherIrc, msg, commandAndArgs) self.Proxy(otherIrc, msg, commandAndArgs)
command = wrap(command, ['admin', ('networkIrc', True), many('something')]) command = wrap(command, ['admin', ('networkIrc', True), many('something')])
def cmdall(self, irc, msg, args, commandAndArgs): def cmdall(self, irc, msg, args, commandAndArgs):
"""<command> <args>... """<command> <args>...
@ -147,9 +148,9 @@ class Network(callbacks.Plugin):
""" """
ircs = world.ircs ircs = world.ircs
for ircd in ircs: for ircd in ircs:
#ircd.queueMsg(ircmsgs.IrcMsg(prefix="", command=commandAndArgs, args="", msg=""))
self.Proxy(ircd, msg, commandAndArgs) self.Proxy(ircd, msg, commandAndArgs)
cmdall = wrap(cmdall, ['admin', many('something')]) cmdall = wrap(cmdall, ['admin', many('something')])
### ###
# whois command-related stuff. # whois command-related stuff.
### ###