1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 16:16:38 +02:00

Allow reloading of the protocol module with /operserv modreload

This commit is contained in:
Adam
2010-10-04 16:54:39 -04:00
parent ab5ebc2245
commit 58a3e2bbb7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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*/