From ce2a9cf125f913bc7c1bfd00267e6f24ee4d4cd3 Mon Sep 17 00:00:00 2001 From: Sina Mashek Date: Wed, 6 Dec 2017 13:31:38 +0200 Subject: [PATCH] resolving conflict --- pinhook/plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pinhook/plugin.py b/pinhook/plugin.py index 849934c..d0596e4 100644 --- a/pinhook/plugin.py +++ b/pinhook/plugin.py @@ -22,6 +22,8 @@ def message(msg): def add_plugin(command, func): cmds.append({'cmd': command, 'func': func}) +def clear_plugins(): + cmds.clear() def add_listener(name, func): lstnrs.append({'lstn': name, 'func': func})