summaryrefslogtreecommitdiff
path: root/src/snomasks.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-04-12 02:10:06 +0100
committerPeter Powell <petpow@saberuk.com>2013-04-12 02:21:19 +0100
commit645f7e18c64a6628ede880dc69bf8825ba93b375 (patch)
tree88fdf155712654b0c783bb53770d8e80e28b0d10 /src/snomasks.cpp
parent1858feabd342636df0b52780c978979b4e049fc3 (diff)
Add LOG_ prefix to the log level enum values.
Diffstat (limited to 'src/snomasks.cpp')
-rw-r--r--src/snomasks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/snomasks.cpp b/src/snomasks.cpp
index 4b9c9d86b..8ab5682d6 100644
--- a/src/snomasks.cpp
+++ b/src/snomasks.cpp
@@ -104,7 +104,7 @@ void Snomask::SendMessage(const std::string &message, char mysnomask)
if (isupper(mysnomask))
desc = "REMOTE" + desc;
ModResult MOD_RESULT;
- ServerInstance->Logs->Log("snomask", DEFAULT, "%s: %s", desc.c_str(), message.c_str());
+ ServerInstance->Logs->Log("snomask", LOG_DEFAULT, "%s: %s", desc.c_str(), message.c_str());
FIRST_MOD_RESULT(OnSendSnotice, MOD_RESULT, (mysnomask, desc, message));
@@ -141,7 +141,7 @@ void Snomask::Flush()
desc = "REMOTE" + desc;
std::string mesg = "(last message repeated "+ConvToStr(Count)+" times)";
- ServerInstance->Logs->Log("snomask", DEFAULT, "%s: %s", desc.c_str(), mesg.c_str());
+ ServerInstance->Logs->Log("snomask", LOG_DEFAULT, "%s: %s", desc.c_str(), mesg.c_str());
FOREACH_MOD(I_OnSendSnotice, OnSendSnotice(LastLetter, desc, mesg));