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/modules/m_ripemd160.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/modules/m_ripemd160.cpp')
-rw-r--r-- | src/modules/m_ripemd160.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_ripemd160.cpp b/src/modules/m_ripemd160.cpp index 9cbd0c69b..e487d6e30 100644 --- a/src/modules/m_ripemd160.cpp +++ b/src/modules/m_ripemd160.cpp @@ -164,7 +164,7 @@ class RIProv : public HashProvider { if (key) { - ServerInstance->Logs->Log("m_ripemd160.so", DEBUG, "initialize with custom mdbuf"); + ServerInstance->Logs->Log("m_ripemd160.so", LOG_DEBUG, "initialize with custom mdbuf"); MDbuf[0] = key[0]; MDbuf[1] = key[1]; MDbuf[2] = key[2]; @@ -173,7 +173,7 @@ class RIProv : public HashProvider } else { - ServerInstance->Logs->Log("m_ripemd160.so", DEBUG, "initialize with default mdbuf"); + ServerInstance->Logs->Log("m_ripemd160.so", LOG_DEBUG, "initialize with default mdbuf"); MDbuf[0] = 0x67452301UL; MDbuf[1] = 0xefcdab89UL; MDbuf[2] = 0x98badcfeUL; @@ -414,7 +414,7 @@ class RIProv : public HashProvider byte *RMD(byte *message, dword length, unsigned int* key) { - ServerInstance->Logs->Log("m_ripemd160", DEBUG, "RMD: '%s' length=%u", (const char*)message, length); + ServerInstance->Logs->Log("m_ripemd160", LOG_DEBUG, "RMD: '%s' length=%u", (const char*)message, length); dword MDbuf[RMDsize/32]; /* contains (A, B, C, D(E)) */ static byte hashcode[RMDsize/8]; /* for final hash-value */ dword X[16]; /* current 16-word chunk */ |