From 27fe548c2fe3c74c4f073b448ae52ef4af93eec8 Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Mon, 30 Mar 2015 16:25:50 +0200 Subject: [PATCH] Fix SIGUSR2 handling --- modules/wolfgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index e1eeac0..00d5fdd 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -136,7 +136,7 @@ def connect_callback(cli): restart_program(cli, "", botconfig.CHANNEL, "") elif signum == SIGUSR2: plog("Scheduling aftergame restart") - aftergame(cli, "", "frestart") + aftergame(cli, "", botconfig.CHANNEL, "frestart") signal.signal(signal.SIGINT, sighandler) signal.signal(signal.SIGTERM, sighandler)