diff options
author | Adam <Adam@anope.org> | 2011-04-25 03:16:57 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-05-16 04:07:56 -0400 |
commit | 076ebafa1b4cc935c466c615b94eaac415af9a67 (patch) | |
tree | dbc8b0f9e7b6f954569c13ad35598f5ebe8a081d /modules/core/enc_none.cpp | |
parent | 6922bd239c778e8f6f2081476ce20b9426c515ad (diff) |
Moved some global functions to be member functions and misc cleanup
Diffstat (limited to 'modules/core/enc_none.cpp')
-rw-r--r-- | modules/core/enc_none.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/enc_none.cpp b/modules/core/enc_none.cpp index c1b403235..9f6b7ff72 100644 --- a/modules/core/enc_none.cpp +++ b/modules/core/enc_none.cpp @@ -25,7 +25,7 @@ class ENone : public Module { Anope::string buf = "plain:"; Anope::string cpass; - b64_encode(src, cpass); + Anope::B64Encode(src, cpass); buf += cpass; Log(LOG_DEBUG_2) << "(enc_none) hashed password from [" << src << "] to [" << buf << "]"; dest = buf; @@ -38,7 +38,7 @@ class ENone : public Module return EVENT_CONTINUE; size_t pos = src.find(':'); Anope::string buf = src.substr(pos + 1); - b64_decode(buf, dest); + Anope::B64Decode(buf, dest); return EVENT_ALLOW; } |