From 6c1d0f30624905e2d53d2f7a09f935b91b5a2dc1 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 --- Reaktor/IRC/ircasy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Reaktor/IRC') diff --git a/Reaktor/IRC/ircasy.py b/Reaktor/IRC/ircasy.py index c62beee4..57ec9189 100644 --- a/Reaktor/IRC/ircasy.py +++ b/Reaktor/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