From f7eabed15819e7a3316b0ab2dc8a28f59f25ce2c Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Tue, 8 Apr 2014 16:41:09 +0200 Subject: m_spanningtree Remove the (now) undocumented disablehmac config option --- src/modules/m_spanningtree/hmac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree/hmac.cpp') diff --git a/src/modules/m_spanningtree/hmac.cpp b/src/modules/m_spanningtree/hmac.cpp index d79f13567..638f283fa 100644 --- a/src/modules/m_spanningtree/hmac.cpp +++ b/src/modules/m_spanningtree/hmac.cpp @@ -55,7 +55,7 @@ std::string TreeSocket::MakePass(const std::string &password, const std::string * HMAC challenge/response. */ HashProvider* sha256 = ServerInstance->Modules->FindDataService("hash/sha256"); - if (Utils->ChallengeResponse && sha256 && !challenge.empty()) + if (sha256 && !challenge.empty()) return "AUTH:" + BinToBase64(sha256->hmac(password, challenge)); if (!challenge.empty() && !sha256) -- cgit v1.3.1-10-gc9f91