summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2014-03-15 01:18:42 +0100
committerlassulus <lassulus@googlemail.com>2014-03-15 01:18:42 +0100
commitaed82c8e85ae193a575282123ebb808899c696f1 (patch)
tree2059ca4ee5c67baabdb0111cdd39bf8365f36ef1
parent94751bf732ad1268e6885db8bd03b054a81f9a20 (diff)
ircasy: more fix(drunk)
-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 5a07e8fc..c62beee4 100644
--- a/Reaktor/IRC/ircasy.py
+++ b/Reaktor/IRC/ircasy.py
@@ -176,7 +176,7 @@ class asybot(asychat):
pass
def on_nickinuse(self, prefix, command, params, rest):
- regex = re.search('(\d+)$', self.nickname)
+ regex = search('(\d+)$', self.nickname)
if regex:
theint = int(regex.group(0))
self.nickname = self.nickname.strip(theint) + str(theint + 1)