summaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-17 13:07:49 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-17 13:07:49 +0000
commit94afde43b086f092bf8128d76d418cb63840e8eb (patch)
tree770c8b46167a86769625b6a22494e266321c18da /src/server.cpp
parent932e069f287ceeb184eafae71c0e22b259e62740 (diff)
Remove InspIRCd::WriteOpers in favour of snomask O
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8728 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server.cpp b/src/server.cpp
index c72ac1f91..9b6f1609e 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -46,10 +46,10 @@ void InspIRCd::Exit(int status)
void InspIRCd::Rehash()
{
- this->WriteOpers("*** Rehashing config file %s due to SIGHUP",ServerConfig::CleanFilename(this->ConfigFileName));
+ this->SNO->WriteToSnoMask('O', "Rehashing config file %s due to SIGHUP",ServerConfig::CleanFilename(this->ConfigFileName));
this->CloseLog();
if (!this->OpenLog(this->Config->argv, this->Config->argc))
- this->WriteOpers("*** ERROR: Could not open logfile %s: %s", Config->logpath.c_str(), strerror(errno));
+ this->SNO->WriteToSnoMask('O', "ERROR: Could not open logfile %s: %s", Config->logpath.c_str(), strerror(errno));
this->RehashUsersAndChans();
FOREACH_MOD_I(this, I_OnGarbageCollect, OnGarbageCollect());
/*this->Config->Read(false,NULL);*/
@@ -61,7 +61,7 @@ void InspIRCd::Rehash()
void InspIRCd::RehashServer()
{
- this->WriteOpers("*** Rehashing config file");
+ this->SNO->WriteToSnoMask('O', "Rehashing config file");
this->RehashUsersAndChans();
/*this->Config->Read(false,NULL);*/
this->ResetMaxBans();