diff options
Diffstat (limited to 'src/cmd_invite.cpp')
-rw-r--r-- | src/cmd_invite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_invite.cpp b/src/cmd_invite.cpp index 3dbabe859..33e61189d 100644 --- a/src/cmd_invite.cpp +++ b/src/cmd_invite.cpp @@ -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) { |