From 59ee2d9dc81b2ed89f073b1541fc8d8c4f1f28f8 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Mon, 29 Jan 2024 11:21:34 +0100 Subject: Updated ChatLogger::secureName to fixed version Using the latest implementation from ManaPlus. Previous version was introduced with 844e9a7a72faca6a212e788a3adc45e17f41dca6 and failed to "secure" the name due to broken conditions. --- src/chatlogger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/chatlogger.h') diff --git a/src/chatlogger.h b/src/chatlogger.h index de7d17d8..e9e53798 100644 --- a/src/chatlogger.h +++ b/src/chatlogger.h @@ -45,7 +45,7 @@ class ChatLogger std::string getDateString() const; - std::string secureName(std::string &str) const; + static std::string secureName(std::string &str); void setServerName(const std::string &serverName); -- cgit v1.2.3-70-g09d2