Use the new IRCContext.send API instead of break_long_message

This commit is contained in:
Vgr E. Barry 2017-01-12 12:45:16 -05:00
parent 4a02943a6e
commit 1b695b4849

View File

@ -175,8 +175,7 @@ def connect_callback():
players = db.get_pre_restart_state()
if players:
msg = "PING! " + break_long_message(players).replace("\n", "\nPING! ")
channels.Main.send(msg)
channels.Main.send(*players, first="PING! ")
channels.Main.send(messages["game_restart_cancel"])
events.remove_listener("who_end", who_end)