Fixed bug in isNick that was causing the Relay.relaynames bug.

This commit is contained in:
Jeremy Fincher 2003-05-28 21:32:36 +00:00
parent 9b56122a8e
commit 328cdf2c0e
1 changed files with 1 additions and 1 deletions

View File

@ -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):