diff options
author | Attila Molnar <attilamolnar@hush.com> | 2013-04-12 07:58:58 -0700 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2013-04-12 07:58:58 -0700 |
commit | a5fe50aca04ca554d313e7361c571c6a497a9c4e (patch) | |
tree | 88fdf155712654b0c783bb53770d8e80e28b0d10 /src/snomasks.cpp | |
parent | 1858feabd342636df0b52780c978979b4e049fc3 (diff) | |
parent | 645f7e18c64a6628ede880dc69bf8825ba93b375 (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.cpp | 4 |
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)); |