show how many quotes found when searching with !quote
This commit is contained in:
parent
0563305b20
commit
7d96d346e1
1 changed files with 2 additions and 1 deletions
|
@ -109,7 +109,8 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
category_str = category
|
||||
if search:
|
||||
category_str = "%s (%s)" % (category_str, search)
|
||||
category_str = "%s (%s [%d found])" % (category_str, search,
|
||||
len(quotes))
|
||||
event["stdout"].write("%s: %s" % (category_str, quote))
|
||||
else:
|
||||
event["stderr"].write("No matching quotes")
|
||||
|
|
Loading…
Reference in a new issue