diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_md5.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_md5.cpp b/src/modules/m_md5.cpp index 21343cdcf..481f9cac2 100644 --- a/src/modules/m_md5.cpp +++ b/src/modules/m_md5.cpp @@ -294,7 +294,7 @@ class ModuleMD5 : public Module virtual char* OnRequest(Request* request) { HashRequest* MD5 = (HashRequest*)request; - ServerInstance->Log(DEBUG,"MD5 REQUEST type %s", request->GetId()); + if (strcmp("KEY", request->GetId()) == 0) { this->key = (unsigned int*)MD5->GetKeyData(); @@ -305,7 +305,6 @@ class ModuleMD5 : public Module } else if (strcmp("SUM", request->GetId()) == 0) { - ServerInstance->Log(DEBUG,"MD5 SUM!"); static char data[MAXBUF]; GenHash((const char*)MD5->GetHashData(), data, chars ? chars : "0123456789abcdef", key); return data; @@ -316,7 +315,6 @@ class ModuleMD5 : public Module } else if (strcmp("RESET", request->GetId()) == 0) { - ServerInstance->Log(DEBUG,"MD5 RESET!"); this->chars = NULL; this->key = NULL; } |