From 16ab62f24549cb2916c06bb7ebf2c85d52d74502 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 15 Mar 2014 01:19:42 +0100 Subject: ircasy: debugging through git is fine --- IRC/ircasy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRC/ircasy.py b/IRC/ircasy.py index c62beee..57ec918 100644 --- a/IRC/ircasy.py +++ b/IRC/ircasy.py @@ -179,7 +179,7 @@ class asybot(asychat): regex = search('(\d+)$', self.nickname) if regex: theint = int(regex.group(0)) - self.nickname = self.nickname.strip(theint) + str(theint + 1) + self.nickname = self.nickname.strip(str(theint)) + str(theint + 1) else: self.nickname = self.nickname + '0' self.handle_connect() -- cgit v1.2.3