diff options
| author | 2019-07-02 23:36:18 +0100 | |
|---|---|---|
| committer | 2019-07-02 23:36:18 +0100 | |
| commit | e19638827e1789fcd4c478caa421e3ef96168be2 (patch) | |
| tree | 81a1b8556cd606c52549d76636b1168288879d63 /modules | |
| parent | add !duckstats (diff) | |
| signature | ||
'+= 1' -> '+= value'
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/ducks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ducks.py b/modules/ducks.py index 883885a0..d3708d08 100644 --- a/modules/ducks.py +++ b/modules/ducks.py @@ -161,7 +161,7 @@ class Module(ModuleManager.BaseModule): for channel_name, value, action in all: if not action in overall: overall[action] = 0 - overall[action] += 1 + overall[action] += value if event["is_channel"]: channel_name_lower = event["server"].irc_lower(channel_name) |
