_all_factoids() takes an array of targets

This commit is contained in:
jesopo 2020-02-09 00:36:23 +00:00
parent 9e5a0da663
commit 9f2a245f6e

View file

@ -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()))))