aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-07-02 23:36:18 +0100
committerGravatar jesopo2019-07-02 23:36:18 +0100
commite19638827e1789fcd4c478caa421e3ef96168be2 (patch)
tree81a1b8556cd606c52549d76636b1168288879d63 /modules
parentadd !duckstats (diff)
signature
'+= 1' -> '+= value'
Diffstat (limited to 'modules')
-rw-r--r--modules/ducks.py2
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)