]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/clientprotocol.h
Improve behaviour when running as root.
[user/henk/code/inspircd.git] / include / clientprotocol.h
index 10b70e80b231536c597cf1bfe69e70c87c041a7b..95683dc8f20da6c98ce9537da3bbbc8371371ba6 100644 (file)
@@ -360,7 +360,7 @@ class ClientProtocol::Message : public ClientProtocol::MessageSource
 
        /** Add a parameter to the parameter list.
         * @param str String to add.
-        * The string will NOT be copied, it must remain alive until ClearParams() is called or until the object is destroyed.
+        * The string will NOT be copied, it must remain alive until ClearParams() is called or until the object is destroyed.
         */
        void PushParamRef(const std::string& str) { params.push_back(str); }
 
@@ -479,7 +479,7 @@ class ClientProtocol::Event
 
        /** Constructor.
         * @param protoeventprov Protocol event provider the event is an instance of.
-        * @param msg Message to include in this event by default.
+        * @param msg Message to include in this event by default.
         */
        Event(EventProvider& protoeventprov, ClientProtocol::Message& msg)
                : event(&protoeventprov)
@@ -537,7 +537,7 @@ class ClientProtocol::MessageTagProvider : public Events::ModuleEventListener
         * The default implementation does nothing.
         * @param msg Message to be populated with tags.
         */
-       virtual void OnClientProtocolPopulateTags(ClientProtocol::Message& msg)
+       virtual void OnPopulateTags(ClientProtocol::Message& msg)
        {
        }
 
@@ -549,7 +549,7 @@ class ClientProtocol::MessageTagProvider : public Events::ModuleEventListener
         * MOD_RES_PASSTHRU to make no decision. If no hooks accept a tag, the tag is rejected.
         * The default implementation returns MOD_RES_PASSTHRU.
         */
-       virtual ModResult OnClientProtocolProcessTag(User* user, const std::string& tagname, std::string& tagvalue)
+       virtual ModResult OnProcessTag(User* user, const std::string& tagname, std::string& tagvalue)
        {
                return MOD_RES_PASSTHRU;
        }