]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/coremods/core_serialize_rfc.cpp
Clean up the logic for parsing oper mode privileges.
[user/henk/code/inspircd.git] / src / coremods / core_serialize_rfc.cpp
index 6b693bfb9af358db79fbc07741c18ad5ca9ed647..8604eaf9fec45c327bf354519cf0aedf59f06fab 100644 (file)
@@ -1,7 +1,8 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
- *   Copyright (C) 2016 Attila Molnar <attilamolnar@hush.com>
+ *   Copyright (C) 2018-2019 Sadie Powell <sadie@witchery.services>
+ *   Copyright (C) 2018 Attila Molnar <attilamolnar@hush.com>
  *
  * This file is part of InspIRCd.  InspIRCd is free software: you can
  * redistribute it and/or modify it under the terms of the GNU General Public
@@ -32,7 +33,7 @@ class RFCSerializer : public ClientProtocol::Serializer
        static const std::string::size_type MAX_CLIENT_MESSAGE_TAG_LENGTH = 4095;
 
        /** The maximum size of server-originated message tags in an outgoing message including the `@`. */
-       static const std::string::size_type MAX_SERVER_MESSAGE_TAG_LENGTH = 511;
+       static const std::string::size_type MAX_SERVER_MESSAGE_TAG_LENGTH = 4095;
 
        static void SerializeTags(const ClientProtocol::TagMap& tags, const ClientProtocol::TagSelection& tagwl, std::string& line);