diff options
| author | 2022-11-30 11:04:30 +0000 | |
|---|---|---|
| committer | 2022-11-30 11:04:30 +0000 | |
| commit | e2243c3aae21c6fc0440c7ef9517be3e9a8a20e6 (patch) | |
| tree | df83fb2ca7c738a4e778574814191384fab26767 /src/clientprotocol.cpp | |
| parent | Fix GetSnomasks returning unregistered snomasks. (diff) | |
| parent | Add a method for quickly escaping a tag value. (diff) | |
Merge branch 'insp3' into master.
Diffstat (limited to 'src/clientprotocol.cpp')
| -rw-r--r-- | src/clientprotocol.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/clientprotocol.cpp b/src/clientprotocol.cpp index 8d245f0ed..0ad9b1ee8 100644 --- a/src/clientprotocol.cpp +++ b/src/clientprotocol.cpp @@ -68,7 +68,7 @@ const ClientProtocol::SerializedMessage& ClientProtocol::Serializer::SerializeFo return msg.GetSerialized(Message::SerializedInfo(this, MakeTagWhitelist(user, msg.GetTags()))); } -std::string CoreExport ClientProtocol::Message::EscapeTag(const std::string& value) +std::string ClientProtocol::Message::EscapeTag(const std::string& value) { std::string ret; ret.reserve(value.size()); @@ -99,7 +99,6 @@ std::string CoreExport ClientProtocol::Message::EscapeTag(const std::string& val return ret; } - const ClientProtocol::SerializedMessage& ClientProtocol::Message::GetSerialized(const SerializedInfo& serializeinfo) const { // First check if the serialized line they're asking for is in the cache |
