mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 14:14:37 +01:00
Fixed AttributeError in strsplit.
This commit is contained in:
parent
c8c7c40791
commit
22155c2714
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user