From 5555eb9547e9e3c95d9f408475e5edce6ceb824d Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Sat, 1 Feb 2014 23:53:48 +0100 Subject: [PATCH] On reload aussi les quotes sur un sighup/instruction reload --- parrot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parrot.py b/parrot.py index 236cf1b..21074ee 100755 --- a/parrot.py +++ b/parrot.py @@ -125,7 +125,7 @@ class Parrot(ircbot.SingleServerIRCBot): def execute_reload(self, auteur=None): """Recharge la config.""" reload(config) - isit.regexp_compile() + self.quotedb.load() if auteur in [None, "SIGHUP"]: towrite = "Config reloaded" + " (SIGHUP received)" * (auteur == "SIGHUP") for to in config.report_bugs_to: -- 2.39.2