Browse Source

fix fake nick recognition

master
Jimmy Cao 14 years ago
parent
commit
7d57c8ad2d
  1. 3
      wolfgame.py

3
wolfgame.py

@ -1785,8 +1785,7 @@ def hvisit(cli, nick, rest):
def is_fake_nick(who): def is_fake_nick(who):
return not( ((who[0].isalpha() or (who[0] in (botconfig.CMD_CHAR, "\\", "_", "`"))) and return not(re.search("^[a-zA-Z\\\_\]\[`]([a-zA-Z0-9\\\_\]\[`]+)?", who)) or who.lower().endswith("serv")
not who.lower().endswith("serv")))

Loading…
Cancel
Save