summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-17 15:54:33 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-17 15:54:33 +0000
commit4426a2fc448f332e42a7e6ff778e5047bb588c98 (patch)
tree0a8dcaaa5b9243d77062bccada51e0d4b8d73475 /src/configreader.cpp
parent94afde43b086f092bf8128d76d418cb63840e8eb (diff)
Fix.. snomask O is already taken (ffs) so use A instead
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 46db43def..64ba689a7 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -776,10 +776,10 @@ void ServerConfig::ReportConfigError(const std::string &errormessage, bool bail,
}
else
{
- ServerInstance->SNO->WriteToSnoMask('O', "There were errors in the configuration file:");
+ ServerInstance->SNO->WriteToSnoMask('A', "There were errors in the configuration file:");
while (start < errors.length())
{
- ServerInstance->SNO->WriteToSnoMask('O', errors.substr(start, 360).c_str());
+ ServerInstance->SNO->WriteToSnoMask('A', errors.substr(start, 360).c_str());
start += 360;
}
}
@@ -1212,7 +1212,7 @@ void ServerConfig::Read(bool bail, User* user, int pass)
{
if (ServerInstance->Modules->Unload(removing->c_str()))
{
- ServerInstance->SNO->WriteToSnoMask('O', "REHASH UNLOADED MODULE: %s",removing->c_str());
+ ServerInstance->SNO->WriteToSnoMask('A', "REHASH UNLOADED MODULE: %s",removing->c_str());
if (user)
user->WriteServ("973 %s %s :Module %s successfully unloaded.",user->nick, removing->c_str(), removing->c_str());
rem++;
@@ -1238,7 +1238,7 @@ void ServerConfig::Read(bool bail, User* user, int pass)
if (ServerInstance->Modules->Load(adding->c_str()))
{
- ServerInstance->SNO->WriteToSnoMask('O', "REHASH LOADED MODULE: %s",adding->c_str());
+ ServerInstance->SNO->WriteToSnoMask('A', "REHASH LOADED MODULE: %s",adding->c_str());
if (user)
user->WriteServ("975 %s %s :Module %s successfully loaded.",user->nick, adding->c_str(), adding->c_str());
@@ -1263,7 +1263,7 @@ void ServerConfig::Read(bool bail, User* user, int pass)
if (user)
user->WriteServ("NOTICE %s :*** Successfully rehashed server.", user->nick);
else
- ServerInstance->SNO->WriteToSnoMask('O', "Successfully rehashed server.");
+ ServerInstance->SNO->WriteToSnoMask('A', "Successfully rehashed server.");
}
/* XXX: This can and will block! */