From aed82c8e85ae193a575282123ebb808899c696f1 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 15 Mar 2014 01:18:42 +0100 Subject: ircasy: more fix(drunk) --- Reaktor/IRC/ircasy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3