summaryrefslogtreecommitdiff
path: root/modules/core
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-10-04 16:54:39 -0400
committerAdam <Adam@anope.org>2010-10-04 16:54:39 -0400
commit58a3e2bbb76f00465a6cf5a9b1e97ef002560bee (patch)
tree0f4beb57aa0dd3f10a7febf6144dc4adac662765 /modules/core
parentab5ebc224516abfe424f2e631eed2dc314c32ab9 (diff)
Allow reloading of the protocol module with /operserv modreload
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/os_modreload.cpp2
1 files changed, 1 insertions, 1 deletions
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;