From 9794a20fd5aae7dd0c6f7abd78fd8706bdc8eae5 Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 8 Jan 2025 22:13:27 -0800 Subject: [PATCH] Update server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index a812ad4..0d05ea8 100644 --- a/server.py +++ b/server.py @@ -92,7 +92,7 @@ for mod in modules: if not j in data: raise Exception(f"Module {mod} requires {j} in configuration.") if temp_module.__ircat_type__ == "sql.provider": - if mods["sql_provider"] != None: + if mods["sql_provider"] == None: mods["sql_provider"] = temp_module else: raise Exception(f"Tried to import {mod} as an SQL provider, but something's already the SQL provider.")