From 15487a6416140cc93f2d602706248d5b5ac425ba Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 8 Apr 2003 08:24:27 +0000 Subject: [PATCH] Fixed arg. --- plugins/Utilities.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/Utilities.py b/plugins/Utilities.py index ac6aeae2b..dbfb55d8b 100644 --- a/plugins/Utilities.py +++ b/plugins/Utilities.py @@ -69,7 +69,10 @@ class Utilities(callbacks.Privmsg): def arg(self, irc, msg, args): 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