]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_redirect.cpp
Fix all typos (not as fun as 'kill all humans' but meh, beggers cant be choosers)
[user/henk/code/inspircd.git] / src / modules / m_redirect.cpp
index a91ddef7f6104d0d00424a8e1add07f2cfd956bf..799eb25deecb3f8ca906eb0ba5fae1ab51f0875c 100644 (file)
@@ -57,7 +57,7 @@ class ModuleRedirect : public Module
                                if (c)
                                {
                                        /* Fix by brain: Dont let a channel be linked to *itself* either */
-                                       if ((c == target) || (c->IsCustomModeSet('L')))
+                                       if ((c == target) || (c->IsModeSet('L')))
                                        {
                                                WriteServ(user->fd,"690 %s :Circular redirection, mode +L to %s not allowed.",user->nick,params[0].c_str());
                                                return 0;
@@ -83,7 +83,7 @@ class ModuleRedirect : public Module
        {
                if (chan)
                {
-                       if (chan->IsCustomModeSet('L'))
+                       if (chan->IsModeSet('L'))
                        {
                                if (Srv->CountUsers(chan) >= chan->limit)
                                {