From 328cdf2c0ec970e000320c4f708cc10fa1f50533 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 28 May 2003 21:32:36 +0000 Subject: [PATCH] Fixed bug in isNick that was causing the Relay.relaynames bug. --- src/ircutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ircutils.py b/src/ircutils.py index dc7050ed8..5fd94da6a 100644 --- a/src/ircutils.py +++ b/src/ircutils.py @@ -86,7 +86,7 @@ def nickEqual(nick1, nick2): """Returns True if nick1 == nick2 according to IRC case rules.""" return toLower(nick1) == toLower(nick2) -_nickchars = r'-[]\\`^{}' +_nickchars = r'-[]\`^{}' _nickre = re.compile(r'^[%sA-Za-z][%s0-9A-Za-z]+$' % (re.escape(_nickchars), re.escape(_nickchars))) def isNick(s):