From e25baea0ef34ed0d6b3262979a1c5d70cd239d41 Mon Sep 17 00:00:00 2001 From: adator <85586985+adator85@users.noreply.github.com> Date: Sun, 22 Sep 2024 23:53:56 +0200 Subject: [PATCH] unsubscribe before unload --- mods/mod_jsonrpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/mod_jsonrpc.py b/mods/mod_jsonrpc.py index 743eeac..c5e0bec 100644 --- a/mods/mod_jsonrpc.py +++ b/mods/mod_jsonrpc.py @@ -148,7 +148,7 @@ class Jsonrpc(): self.Base.db_update_core_config(self.module_name, self.ModConfig, param_key, param_value) def unload(self) -> None: - + self.UnrealIrcdRpcLive.unsubscribe() return None def cmd(self, data:list) -> None: