]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_stripcolor.cpp
To be more specific, specify rpath() macro here
[user/henk/code/inspircd.git] / src / modules / m_stripcolor.cpp
index 3639eae148f5008a993fb11956aaf917e547bebe..634358a6cb483632af1691ab55fde08ac894c7c7 100644 (file)
@@ -173,6 +173,9 @@ class ModuleStripColor : public Module
        
        virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)
        {
+               if (!IS_LOCAL(user))
+                       return 0;
+
                bool active = false;
                if (target_type == TYPE_USER)
                {