From a7fed8715b9eeb1abd3d81067486c62061ab6fd1 Mon Sep 17 00:00:00 2001 From: Simon Arlott Date: Sat, 29 Jul 2017 23:51:54 +0100 Subject: [PATCH] Revert "Core modules cannot be unloaded, otherwise bad things happen." This reverts commit b5cfad03195d566cd259154d212875fb238f5d80. --- ircd/modules.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ircd/modules.c b/ircd/modules.c index ffa08077..63e94cfd 100644 --- a/ircd/modules.c +++ b/ircd/modules.c @@ -294,9 +294,6 @@ unload_one_module(const char *name, bool warn) if((mod = findmodule_byname(name)) == NULL) return false; - if(mod->core) - return false; - /* ** XXX - The type system in C does not allow direct conversion between ** data and function pointers, but as it happens, most C compilers will