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:
@@ -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;
|
||||
|
||||
@@ -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*/
|
||||
|
||||
Reference in New Issue
Block a user