]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules.h
Add the lookup_lines stuff. Sorry i havent documented this yet, i am tired.
[user/henk/code/inspircd.git] / include / modules.h
index 50142e253af8e591b3447b190e7a0c90fcc61d9d..ed8692a587c120d5c933386593eadd343d1bd9fc 100644 (file)
@@ -729,7 +729,7 @@ class CoreExport Module : public Extensible
         * @param text the text being sent by the user
         * @param status The status being used, e.g. NOTICE @#chan has status== '@', 0 to send to everyone.
         */
-       virtual void OnText(User* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list);
+       virtual void OnText(User* user, void* dest, int target_type, const std::string &text, char status, CUList &exempt_list);
 
        /** Called after every MODE command sent from a user
         * The dest variable contains a User* if target_type is TYPE_USER and a Channel*