]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_invite.cpp
Removal of ancient TRUE/FALSE #defines (C-ish stuff)
[user/henk/code/inspircd.git] / src / cmd_invite.cpp
index 3dbabe85946fd417c85fab4ee7496dad3e88c08d..33e61189d0091ac115a6cf8d3a8fec8922176f37 100644 (file)
@@ -64,7 +64,7 @@ void cmd_invite::Handle (char **parameters, int pcnt, userrec *user)
                        return;
                }
 
-               if ((c->custom_modes[CM_INVITEONLY]) && (IS_LOCAL(user)))
+               if ((c->modes[CM_INVITEONLY]) && (IS_LOCAL(user)))
                {
                        if (cstatus(user,c) < STATUS_HOP)
                        {