]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_cloaking.cpp
Add option to allow +q to +q users, +a to +a users.
[user/henk/code/inspircd.git] / src / modules / m_cloaking.cpp
index 278b74541acf2810365638fe22028446398e3d43..761f37c1809052eb2c3ca752afcb8486262c4c58 100644 (file)
@@ -69,9 +69,6 @@ class CloakUser : public ModeHandler
 
        ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding, bool)
        {
-               if (source != dest)
-                       return MODEACTION_DENY;
-
                /* For remote clients, we dont take any action, we just allow it.
                 * The local server where they are will set their cloak instead.
                 * This is fine, as we will recieve it later.