Fixed AttributeError in strsplit.

This commit is contained in:
Jeremy Fincher 2003-04-08 08:22:15 +00:00
parent c8c7c40791
commit 22155c2714

View File

@ -58,7 +58,7 @@ class Utilities(callbacks.Privmsg):
(sep, text) = privmsgs.getArgs(args, needed=2) (sep, text) = privmsgs.getArgs(args, needed=2)
if sep == '': if sep == '':
sep = None sep = None
irc.reply(msg, text.split(sep)) irc.reply(msg, ' '.join(text.split(sep)))
def echo(self, irc, msg, args): def echo(self, irc, msg, args):
"""takes any number of arguments """takes any number of arguments