]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/coremods/core_serialize_rfc.cpp
Fix a copy/paste error in the http path normalising code.
[user/henk/code/inspircd.git] / src / coremods / core_serialize_rfc.cpp
index 8604eaf9fec45c327bf354519cf0aedf59f06fab..dcd67d49e041c1061d05dd25913022a87739c8ed 100644 (file)
@@ -89,7 +89,7 @@ bool RFCSerializer::Parse(LocalUser* user, const std::string& line, ClientProtoc
                while (ss.GetToken(token))
                {
                        // Two or more tags with the same key must not be sent, but if a client violates that we accept
-                       // the first occurence of duplicate tags and ignore all later occurences.
+                       // the first occurrence of duplicate tags and ignore all later occurrences.
                        //
                        // Another option is to reject the message entirely but there is no standard way of doing that.
                        const std::string::size_type p = token.find('=');