diff options
| author | 2020-01-11 22:18:41 +0000 | |
|---|---|---|
| committer | 2020-01-11 22:18:41 +0000 | |
| commit | c526322bc0fd72f94273c6af7426b05be7677cf2 (patch) | |
| tree | 13c63513cfa807e082f60a4b2b8f2684e8d3f174 | |
| parent | add !maskfind to search for nicks that used a given hostmask (diff) | |
| signature | ||
show count of !maskfind results
| -rw-r--r-- | modules/hostmask_tracking.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/hostmask_tracking.py b/modules/hostmask_tracking.py index 05981e5b..3d972fa3 100644 --- a/modules/hostmask_tracking.py +++ b/modules/hostmask_tracking.py @@ -30,7 +30,7 @@ class Module(ModuleManager.BaseModule): nicknames.add(nickname) if nicknames: - event["stdout"].write("%s: %s" % - (hostmask_str, ", ".join(sorted(nicknames)))) + event["stdout"].write("%s (%d): %s" % + (hostmask_str, len(nicknames), ", ".join(sorted(nicknames)))) else: event["stderr"].write("Hostmask not found") |
