diff options
| author | 2019-02-07 12:16:33 +0000 | |
|---|---|---|
| committer | 2019-02-07 12:16:33 +0000 | |
| commit | 641b2d07ab6868a9fa6726c1bc36cde80005e155 (patch) | |
| tree | 00f6f16cef0464477d4a890b3c21793557c2c537 /src/modules/m_spanningtree/hmac.cpp | |
| parent | ModeParser: remove fakederef. (diff) | |
| download | inspircd++-641b2d07ab6868a9fa6726c1bc36cde80005e155.tar.gz inspircd++-641b2d07ab6868a9fa6726c1bc36cde80005e155.tar.bz2 inspircd++-641b2d07ab6868a9fa6726c1bc36cde80005e155.zip | |
ModuleManager: remove fakederef.
Diffstat (limited to 'src/modules/m_spanningtree/hmac.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/hmac.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/hmac.cpp b/src/modules/m_spanningtree/hmac.cpp index 0343f9611..8fcb47655 100644 --- a/src/modules/m_spanningtree/hmac.cpp +++ b/src/modules/m_spanningtree/hmac.cpp @@ -54,7 +54,7 @@ std::string TreeSocket::MakePass(const std::string &password, const std::string * Note: If an sha256 provider is not available, we MUST fall back to plaintext with no * HMAC challenge/response. */ - HashProvider* sha256 = ServerInstance->Modules->FindDataService<HashProvider>("hash/sha256"); + HashProvider* sha256 = ServerInstance->Modules.FindDataService<HashProvider>("hash/sha256"); if (sha256 && !challenge.empty()) return "AUTH:" + BinToBase64(sha256->hmac(password, challenge)); |
