Revert "Ping joined players even if the bot was quit and restarted manually"

This reverts commit 1db767cafaa33645e79a6fe3bb51c825a2529f86.

This is actually rarely useful, and more often annoying, especially when
debugging.
This commit is contained in:
nyuszika7h 2015-04-16 18:53:58 +02:00
parent 4b01eb2990
commit 1d77fc4a29

View File

@ -486,15 +486,6 @@ def forced_exit(cli, nick, chan, rest):
except Exception: except Exception:
notify_error(cli, chan, errlog) notify_error(cli, chan, errlog)
try:
with sqlite3.connect("data.sqlite3", check_same_thread=False) as conn:
c = conn.cursor()
players = var.list_players()
if players:
c.execute("UPDATE pre_restart_state SET players = ?", (" ".join(players),))
except Exception:
notify_error(cli, chan, errlog)
try: try:
reset() reset()
except Exception: except Exception: