aboutsummaryrefslogtreecommitdiffstats
path: root/src/snomasks.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2013-04-12 07:58:58 -0700
committerGravatar Attila Molnar2013-04-12 07:58:58 -0700
commita5fe50aca04ca554d313e7361c571c6a497a9c4e (patch)
tree88fdf155712654b0c783bb53770d8e80e28b0d10 /src/snomasks.cpp
parentMerge pull request #487 from SaberUK/master+better-isupport-api (diff)
parentAdd LOG_ prefix to the log level enum values. (diff)
Merge pull request #488 from SaberUK/master+loglevel-rename
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));