fix autorestart after kick due to excess flood

This commit is contained in:
Jimmy Cao 2011-09-10 17:37:38 -05:00
parent e5a60b84ed
commit 2df8db9d95

View File

@ -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