Browse Source

better regex matching for quiet list at startup

master
Jimmy Cao 13 years ago
parent
commit
ea9acbc0f8
  1. 2
      modules/wolfgame.py

2
modules/wolfgame.py

@ -60,7 +60,7 @@ def connect_callback(cli): @@ -60,7 +60,7 @@ def connect_callback(cli):
@hook("quietlist", id=294)
def on_quietlist(cli, server, botnick, channel, q, quieted, by, something):
if re.match(".+\!.+@.+", quieted): # only unquiet people quieted by bot
if re.match(".+\!\*@\*", quieted): # only unquiet people quieted by bot
cmodes.append(("-q", quieted))
@hook("quietlistend", id=294)

Loading…
Cancel
Save