diff options
-rw-r--r-- | modules/core/os_modreload.cpp | 2 | ||||
-rw-r--r-- | modules/protocol/inspircd20.cpp | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/modules/protocol/inspircd20.cpp b/modules/protocol/inspircd20.cpp index 653989f5b..6fc00e7d9 100644 --- a/modules/protocol/inspircd20.cpp +++ b/modules/protocol/inspircd20.cpp @@ -1128,7 +1128,7 @@ bool event_endburst(const Anope::string &source, const std::vector<Anope::string Server *s = Server::Find(source); if (!s) - throw new CoreException("Got ENDBURST without a source"); + throw CoreException("Got ENDBURST without a source"); /* Check if the previously introduced user was Id'd for the nickgroup of the nick he s currently using. * If not, validate the user. ~ Viper*/ |