From d0476c9eb2e4f013da8bf7b1251bfe410ee4d827 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 29 Jun 2013 12:24:52 +0200 Subject: [PATCH] Factoids: Make sure _http_running is assigned before being used. --- plugins/Factoids/plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/Factoids/plugin.py b/plugins/Factoids/plugin.py index a592ad42f..ac2228634 100644 --- a/plugins/Factoids/plugin.py +++ b/plugins/Factoids/plugin.py @@ -193,6 +193,7 @@ class Factoids(callbacks.Plugin, plugins.ChannelDBHandler): def __init__(self, irc): callbacks.Plugin.__init__(self, irc) plugins.ChannelDBHandler.__init__(self) + self._http_running = False conf.supybot.plugins.Factoids.web.enable.addCallback(self._doHttpConf) if self.registryValue('web.enable'): self._startHttp()