]> gitweb.pimeys.fr Git - bots/parrot.git/commitdiff
On reload aussi les quotes sur un sighup/instruction reload
authorVincent Le Gallic <legallic@crans.org>
Sat, 1 Feb 2014 22:53:48 +0000 (23:53 +0100)
committerVincent Le Gallic <legallic@crans.org>
Sat, 1 Feb 2014 22:53:48 +0000 (23:53 +0100)
parrot.py

index 236cf1b225f767e2d128052143a8c6f51ada2658..21074ee76c268063d2c6a810d3175394e8b8dfb3 100755 (executable)
--- 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: