aboutsummaryrefslogtreecommitdiffstats
path: root/IRC
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2014-03-15 01:19:42 +0100
committerlassulus <lassulus@googlemail.com>2014-03-15 01:19:42 +0100
commit16ab62f24549cb2916c06bb7ebf2c85d52d74502 (patch)
tree3ce39a57177a7559b20cba0ffe758d7a64d5b943 /IRC
parent7b1e2aabb551b46bbb39daceb24a00294a22dfcb (diff)
ircasy: debugging through git is fine
Diffstat (limited to 'IRC')
-rw-r--r--IRC/ircasy.py2
1 files changed, 1 insertions, 1 deletions
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()