aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_httpd_stats.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-05-10 16:10:14 +0100
committerGravatar Sadie Powell2021-05-10 20:09:55 +0100
commit73695c4fde78a2fde0ca8badc05890d4c11a0ce5 (patch)
tree04bd67979656c49d74ca13b730857997f4782a71 /src/modules/m_httpd_stats.cpp
parentUse the contents of the link data map when using the 1206 protocol. (diff)
Refactor the Base64 encoding and decoding functions.
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
-rw-r--r--src/modules/m_httpd_stats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp
index b568f8d64..48fff68e3 100644
--- a/src/modules/m_httpd_stats.cpp
+++ b/src/modules/m_httpd_stats.cpp
@@ -82,7 +82,7 @@ namespace Stats
// Base64 encode the entire string and wrap it in a CDATA.
ret.clear();
ret += "<![CDATA[";
- ret += BinToBase64(str);
+ ret += Base64::Encode(str);
ret += "]]>";
break;
}