diff options
Diffstat (limited to 'modules/extra')
| -rw-r--r-- | modules/extra/enc_argon2.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/extra/enc_argon2.cpp b/modules/extra/enc_argon2.cpp index 6454411eb..266a80d30 100644 --- a/modules/extra/enc_argon2.cpp +++ b/modules/extra/enc_argon2.cpp @@ -104,6 +104,13 @@ public: { return std::make_unique<Argon2Context>(this->type); } + + Anope::string ToPrintable(const Anope::string &hash) override + { + // We have no way to make this printable without the creating context + // so we always return the printed form. + return hash; + } }; |
