mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Fix for bug in Network.command.
This commit is contained in:
parent
5822a249e7
commit
36095341e1
@ -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):
|
||||
"""<network> <command> [<arg> ...]
|
||||
|
||||
Gives the bot <command> (with its associated <arg>s) on <network>.
|
||||
"""
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user