aboutsummaryrefslogtreecommitdiff
path: root/modules/factoids.py
diff options
context:
space:
mode:
authorGravatar jesopo2020-02-09 00:36:23 +0000
committerGravatar jesopo2020-02-09 00:36:23 +0000
commit9f2a245f6e4216e813b96975d34b841840a61e2b (patch)
treec4b80c701c7e969f65ffcbaa6d67631e061509d3 /modules/factoids.py
parentsupport nested factoids (4 deep max) (diff)
signature
_all_factoids() takes an array of targets
Diffstat (limited to 'modules/factoids.py')
-rw-r--r--modules/factoids.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/factoids.py b/modules/factoids.py
index 57fb1006..9b2e7cbc 100644
--- a/modules/factoids.py
+++ b/modules/factoids.py
@@ -63,7 +63,7 @@ class Module(ModuleManager.BaseModule):
exists = not self._get_factoid([["", target]], factoid) == None
if event["spec"][0] == "list":
- all_factoids = self._all_factoids(target)
+ all_factoids = self._all_factoids([target])
event["stdout"].write("Available %s factoids: %s"
% (target_desc, ", ".join(sorted(all_factoids.keys()))))