summaryrefslogtreecommitdiffstats
path: root/Reaktor/IRC/ircasy.py
diff options
context:
space:
mode:
Diffstat (limited to 'Reaktor/IRC/ircasy.py')
-rw-r--r--Reaktor/IRC/ircasy.py2
1 files changed, 1 insertions, 1 deletions
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()