From e19638827e1789fcd4c478caa421e3ef96168be2 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 2 Jul 2019 23:36:18 +0100 Subject: '+= 1' -> '+= value' --- modules/ducks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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) -- cgit v1.3.1-10-gc9f91