aboutsummaryrefslogtreecommitdiffstats
path: root/IRC
diff options
context:
space:
mode:
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()