mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +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()
|
irc.replySuccess()
|
||||||
reconnect = wrap(reconnect, ['owner', 'networkIrc', additional('text')])
|
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> ...]
|
"""<network> <command> [<arg> ...]
|
||||||
|
|
||||||
Gives the bot <command> (with its associated <arg>s) on <network>.
|
Gives the bot <command> (with its associated <arg>s) on <network>.
|
||||||
"""
|
"""
|
||||||
self.Proxy(otherIrc, msg, commandArgs)
|
self.Proxy(otherIrc, msg, commandAndArgs)
|
||||||
command = wrap(command, ['admin', ('networkIrc', True),
|
command = wrap(command, ['admin', ('networkIrc', True), many('something')])
|
||||||
'commandName', any('something')])
|
|
||||||
|
|
||||||
###
|
###
|
||||||
# whois command-related stuff.
|
# whois command-related stuff.
|
||||||
|
Loading…
Reference in New Issue
Block a user