From 3f84381b41306e584810c106349f2781490819af Mon Sep 17 00:00:00 2001 From: Mallory Hancock Date: Wed, 6 Dec 2017 11:05:57 -0800 Subject: [PATCH] clear listeners when reloading plugins --- pinhook/plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pinhook/plugin.py b/pinhook/plugin.py index 8251bfa..807575c 100644 --- a/pinhook/plugin.py +++ b/pinhook/plugin.py @@ -28,6 +28,7 @@ def add_plugin(command, func): def clear_plugins(): cmds.clear() + lstnrs.clear() def add_listener(name, func):