diff options
author | lassulus <lassulus@googlemail.com> | 2014-03-15 01:19:42 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2014-03-15 01:19:42 +0100 |
commit | 16ab62f24549cb2916c06bb7ebf2c85d52d74502 (patch) | |
tree | 3ce39a57177a7559b20cba0ffe758d7a64d5b943 | |
parent | 7b1e2aabb551b46bbb39daceb24a00294a22dfcb (diff) |
ircasy: debugging through git is fine
-rw-r--r-- | IRC/ircasy.py | 2 |
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() |