mirror of
https://github.com/anope/anope.git
synced 2026-06-30 10:16:38 +02:00
Moved some global functions to be member functions and misc cleanup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user