diff options
| author | 2019-02-07 12:17:09 +0000 | |
|---|---|---|
| committer | 2019-02-07 12:17:09 +0000 | |
| commit | 8e908f0a6864eab4cf37997773603e9943bb7892 (patch) | |
| tree | e4be6165b608bdfa35cbce88f447d94d9b498974 /src/configreader.cpp | |
| parent | ModuleManager: remove fakederef. (diff) | |
| download | inspircd++-8e908f0a6864eab4cf37997773603e9943bb7892.tar.gz inspircd++-8e908f0a6864eab4cf37997773603e9943bb7892.tar.bz2 inspircd++-8e908f0a6864eab4cf37997773603e9943bb7892.zip | |
SnomaskManager: remove fakederef.
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index f4e1d3b52..7d8e0a2ec 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -501,7 +501,7 @@ void ServerConfig::Apply(ServerConfig* old, const std::string &useruid) if (user) user->WriteRemoteNotice(InspIRCd::Format("*** %s", line.c_str())); // Also tell opers - ServerInstance->SNO->WriteGlobalSno('a', line); + ServerInstance->SNO.WriteGlobalSno('a', line); } errstr.clear(); @@ -527,7 +527,7 @@ void ServerConfig::Apply(ServerConfig* old, const std::string &useruid) if (user) user->WriteRemoteNotice("*** Successfully rehashed server."); - ServerInstance->SNO->WriteGlobalSno('a', "*** Successfully rehashed server."); + ServerInstance->SNO.WriteGlobalSno('a', "*** Successfully rehashed server."); } void ServerConfig::ApplyModules(User* user) @@ -558,19 +558,19 @@ void ServerConfig::ApplyModules(User* user) continue; if (ServerInstance->Modules.Unload(i->second)) { - ServerInstance->SNO->WriteGlobalSno('a', "*** REHASH UNLOADED MODULE: %s", modname.c_str()); + ServerInstance->SNO.WriteGlobalSno('a', "*** REHASH UNLOADED MODULE: %s", modname.c_str()); if (user) user->WriteNumeric(RPL_UNLOADEDMODULE, modname, InspIRCd::Format("Module %s successfully unloaded.", modname.c_str())); else - ServerInstance->SNO->WriteGlobalSno('a', "Module %s successfully unloaded.", modname.c_str()); + ServerInstance->SNO.WriteGlobalSno('a', "Module %s successfully unloaded.", modname.c_str()); } else { if (user) user->WriteNumeric(ERR_CANTUNLOADMODULE, modname, InspIRCd::Format("Failed to unload module %s: %s", modname.c_str(), ServerInstance->Modules.LastError().c_str())); else - ServerInstance->SNO->WriteGlobalSno('a', "Failed to unload module %s: %s", modname.c_str(), ServerInstance->Modules.LastError().c_str()); + ServerInstance->SNO.WriteGlobalSno('a', "Failed to unload module %s: %s", modname.c_str(), ServerInstance->Modules.LastError().c_str()); } } @@ -582,18 +582,18 @@ void ServerConfig::ApplyModules(User* user) if (ServerInstance->Modules.Load(*adding)) { - ServerInstance->SNO->WriteGlobalSno('a', "*** REHASH LOADED MODULE: %s",adding->c_str()); + ServerInstance->SNO.WriteGlobalSno('a', "*** REHASH LOADED MODULE: %s",adding->c_str()); if (user) user->WriteNumeric(RPL_LOADEDMODULE, *adding, InspIRCd::Format("Module %s successfully loaded.", adding->c_str())); else - ServerInstance->SNO->WriteGlobalSno('a', "Module %s successfully loaded.", adding->c_str()); + ServerInstance->SNO.WriteGlobalSno('a', "Module %s successfully loaded.", adding->c_str()); } else { if (user) user->WriteNumeric(ERR_CANTLOADMODULE, *adding, InspIRCd::Format("Failed to load module %s: %s", adding->c_str(), ServerInstance->Modules.LastError().c_str())); else - ServerInstance->SNO->WriteGlobalSno('a', "Failed to load module %s: %s", adding->c_str(), ServerInstance->Modules.LastError().c_str()); + ServerInstance->SNO.WriteGlobalSno('a', "Failed to load module %s: %s", adding->c_str(), ServerInstance->Modules.LastError().c_str()); } } } |
