diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-17 12:00:09 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-17 12:00:09 +0000 |
commit | 9954ce7e652fdf1bef963b3a133724e8a8eb4cad (patch) | |
tree | 603ff7bdadb42a46e32f27a82bf3133f5612e008 /src/commands | |
parent | a99351314824c53f0809e86582c65ffaf6f928c7 (diff) |
Remove use of SendSNONotice to send to remote servers, this is done automagically now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9526 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/cmd_oper.cpp | 2 | ||||
-rw-r--r-- | src/commands/cmd_rehash.cpp | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/commands/cmd_oper.cpp b/src/commands/cmd_oper.cpp index 2d73ad350..0b17c4dca 100644 --- a/src/commands/cmd_oper.cpp +++ b/src/commands/cmd_oper.cpp @@ -135,7 +135,6 @@ CmdResult CommandOper::Handle (const char* const* parameters, int, User *user) snprintf(broadcast, MAXBUF, "WARNING! Failed oper attempt by %s!%s@%s using login '%s': The following fields do not match: %s",user->nick,user->ident,user->host, parameters[0], fields.c_str()); ServerInstance->SNO->WriteToSnoMask('o',std::string(broadcast)); - ServerInstance->PI->SendSNONotice("o", broadcast); ServerInstance->Logs->Log("OPER",DEFAULT,"OPER: Failed oper attempt by %s!%s@%s using login '%s': The following fields did not match: %s",user->nick,user->ident,user->host,parameters[0],fields.c_str()); return CMD_FAILURE; @@ -147,7 +146,6 @@ CmdResult CommandOper::Handle (const char* const* parameters, int, User *user) snprintf(broadcast, MAXBUF, "CONFIGURATION ERROR! Oper block '%s': missing OperType %s",parameters[0],OperType); ServerInstance->SNO->WriteToSnoMask('o', std::string(broadcast)); - ServerInstance->PI->SendSNONotice("o", broadcast); ServerInstance->Logs->Log("OPER",DEFAULT,"OPER: Failed oper attempt by %s!%s@%s using login '%s': credentials valid, but oper type nonexistent.",user->nick,user->ident,user->host,parameters[0]); return CMD_FAILURE; diff --git a/src/commands/cmd_rehash.cpp b/src/commands/cmd_rehash.cpp index cf093552c..0f60f4a6d 100644 --- a/src/commands/cmd_rehash.cpp +++ b/src/commands/cmd_rehash.cpp @@ -51,14 +51,12 @@ CmdResult CommandRehash::Handle (const char* const* parameters, int pcnt, User * std::string m = std::string(user->nick) + " is rehashing config file " + ServerConfig::CleanFilename(ServerInstance->ConfigFileName) + " on " + ServerInstance->Config->ServerName; ServerInstance->SNO->WriteToSnoMask('A', m); - ServerInstance->PI->SendSNONotice("A", m); ServerInstance->Logs->CloseLogs(); if (!ServerInstance->OpenLog(ServerInstance->Config->argv, ServerInstance->Config->argc)) { m = std::string("ERROR: Could not open logfile ") + ServerInstance->Config->logpath + ":" + strerror(errno); ServerInstance->SNO->WriteToSnoMask('A', m); - ServerInstance->PI->SendSNONotice("A", m); } ServerInstance->RehashUsersAndChans(); |