From: Vincent Le Gallic Date: Sat, 1 Feb 2014 22:53:48 +0000 (+0100) Subject: On reload aussi les quotes sur un sighup/instruction reload X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=5555eb9547e9e3c95d9f408475e5edce6ceb824d;p=bots%2Fparrot.git On reload aussi les quotes sur un sighup/instruction reload --- 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: