]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_cloaking.cpp
Fix test client error cheecking on result types
[user/henk/code/inspircd.git] / src / modules / m_cloaking.cpp
index 99898259a07dcf1ec71fe20557ede005ed3967db..ab13708ea583d181cd03c5b2dfc9e6179b2d4590 100644 (file)
@@ -432,7 +432,7 @@ class ModuleCloaking : public Module
                // SAMODE in unreal. Note that to the user it will appear as if they set
                // the mode on themselves.
                
-               char* modes[2];                 // only two parameters
+               const char* modes[2];           // only two parameters
                modes[0] = user->nick;          // first parameter is the nick
                modes[1] = "+x";                // second parameter is the mode
                Srv->SendMode(modes,2,user);    // send these, forming the command "MODE <nick> +x"