aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_sasl.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/modules/m_sasl.cpp
parentMerge pull request #487 from SaberUK/master+better-isupport-api (diff)
parentAdd LOG_ prefix to the log level enum values. (diff)
downloadinspircd++-a5fe50aca04ca554d313e7361c571c6a497a9c4e.tar.gz
inspircd++-a5fe50aca04ca554d313e7361c571c6a497a9c4e.tar.bz2
inspircd++-a5fe50aca04ca554d313e7361c571c6a497a9c4e.zip
Merge pull request #488 from SaberUK/master+loglevel-rename
Add LOG_ prefix to the log level enum values.
Diffstat (limited to 'src/modules/m_sasl.cpp')
-rw-r--r--src/modules/m_sasl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp
index 0f2f9022e..ff007f799 100644
--- a/src/modules/m_sasl.cpp
+++ b/src/modules/m_sasl.cpp
@@ -112,7 +112,7 @@ class SaslAuthenticator
case SASL_DONE:
break;
default:
- ServerInstance->Logs->Log("m_sasl", DEFAULT, "WTF: SaslState is not a known state (%d)", this->state);
+ ServerInstance->Logs->Log("m_sasl", LOG_DEFAULT, "WTF: SaslState is not a known state (%d)", this->state);
break;
}
@@ -220,7 +220,7 @@ class CommandSASL : public Command
User* target = ServerInstance->FindNick(parameters[1]);
if ((!target) || (IS_SERVER(target)))
{
- ServerInstance->Logs->Log("m_sasl", DEBUG,"User not found in sasl ENCAP event: %s", parameters[1].c_str());
+ ServerInstance->Logs->Log("m_sasl", LOG_DEBUG,"User not found in sasl ENCAP event: %s", parameters[1].c_str());
return CMD_FAILURE;
}
@@ -266,7 +266,7 @@ class ModuleSASL : public Module
ServerInstance->Modules->AddServices(providelist, 3);
if (!ServerInstance->Modules->Find("m_services_account.so") || !ServerInstance->Modules->Find("m_cap.so"))
- ServerInstance->Logs->Log("m_sasl", DEFAULT, "WARNING: m_services_account.so and m_cap.so are not loaded! m_sasl.so will NOT function correctly until these two modules are loaded!");
+ ServerInstance->Logs->Log("m_sasl", LOG_DEFAULT, "WARNING: m_services_account.so and m_cap.so are not loaded! m_sasl.so will NOT function correctly until these two modules are loaded!");
}
void OnRehash(User*)