mirror of https://github.com/Mikaela/Limnoria.git
Fixed bug in isNick that was causing the Relay.relaynames bug.
This commit is contained in:
parent
9b56122a8e
commit
328cdf2c0e
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue