diff --git a/nardco.py b/nardco.py index 0285a5151ace6fc207668641026c7b5030605144..88ee7517893c07bb3f7da5ed14ee7dcd367f0a6b 100755 --- a/nardco.py +++ b/nardco.py @@ -270,8 +270,8 @@ class Boooob(ircbot.SingleServerIRCBot): splt = message.split('di') messages = [] if len(splt) > 1 : - for f in len(splt[1:]) : - messages.append(splt[f:].join('di')) + for f in range(len(splt[1:])) : + messages.append(splt[f+1:].join('di')) for f in messages : serv.privmsg(canal, f)