From 9cdc37ce72e007838a915d344cd0409472d45649 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 18 Nov 2018 11:18:37 +0000 Subject: [PATCH] 'factoid' -> 'value' --- modules/factoids.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/factoids.py b/modules/factoids.py index ff7ac88a..99680fed 100644 --- a/modules/factoids.py +++ b/modules/factoids.py @@ -31,7 +31,7 @@ class Module(ModuleManager.BaseModule): match = REGEX_FACTOID.search(event["message"]) if match: name, value = self._get_factoid(event["server"], match.group(1)) - if not factoid == None: + if not value == None: self.events.on("send.stdout").call(target=event["channel"], module_name="Factoids", server=event["server"], message="%s: %s" % (name, value))