From 58a3e2bbb76f00465a6cf5a9b1e97ef002560bee Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 4 Oct 2010 16:54:39 -0400 Subject: Allow reloading of the protocol module with /operserv modreload --- modules/core/os_modreload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/core') diff --git a/modules/core/os_modreload.cpp b/modules/core/os_modreload.cpp index 5cb8c60e8..efbc680af 100644 --- a/modules/core/os_modreload.cpp +++ b/modules/core/os_modreload.cpp @@ -37,7 +37,7 @@ class CommandOSModReLoad : public Command return MOD_CONT; } - if (m->GetPermanent() || m->type == PROTOCOL) // TODO: make protocol modules reloadable + if (m->GetPermanent()) { u->SendMessage(OperServ, OPER_MODULE_NO_UNLOAD); return MOD_CONT; -- cgit