mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Fixed arg.
This commit is contained in:
parent
22155c2714
commit
15487a6416
@ -69,7 +69,10 @@ class Utilities(callbacks.Privmsg):
|
|||||||
|
|
||||||
def arg(self, irc, msg, args):
|
def arg(self, irc, msg, args):
|
||||||
i = int(args.pop(0))
|
i = int(args.pop(0))
|
||||||
irc.reply(msg, args[i])
|
L = []
|
||||||
|
for arg in args:
|
||||||
|
L.extend(arg.split())
|
||||||
|
irc.reply(msg, L[i])
|
||||||
|
|
||||||
|
|
||||||
Class = Utilities
|
Class = Utilities
|
||||||
|
Loading…
Reference in New Issue
Block a user