Browse Source

fix autorestart after kick due to excess flood

master
Jimmy Cao 13 years ago
parent
commit
01730bc94f
  1. 2
      wolfgame.py

2
wolfgame.py

@ -2227,7 +2227,7 @@ def start(cli, nick, chan, rest): @@ -2227,7 +2227,7 @@ def start(cli, nick, chan, rest):
@hook("error")
def on_error(cli, pfx, msg):
if msg.endswith("(Excess Flood)"):
restart_program(cli, "excess flood")
restart_program(cli, "excess flood", "")
elif msg.startswith("Closing Link:"):
raise SystemExit

Loading…
Cancel
Save