From 581a4891770868a1cba8d1572d3519a72d4cbe6c Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 19 Jun 2004 03:04:02 +0000 Subject: [PATCH] Changed the non-strictRfc implementation of isNick not to allow full hostmasks. --- src/ircutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ircutils.py b/src/ircutils.py index 69b6471c6..c2d9fc730 100644 --- a/src/ircutils.py +++ b/src/ircutils.py @@ -115,7 +115,7 @@ def isNick(s, strictRfc=True): if strictRfc: return bool(nickRe.match(s)) else: - return not isChannel(s) + return not isChannel(s) and not isUserHostmask(s) def isChannel(s): """Returns True if s is a valid IRC channel name."""