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 0eb3a2354..f4368071a 100644 --- a/src/cmd_invite.cpp +++ b/src/cmd_invite.cpp @@ -47,7 +47,7 @@ CmdResult cmd_invite::Handle (const char** parameters, int pcnt, userrec *user) return CMD_FAILURE; } - if ((c->modes[CM_INVITEONLY]) && (IS_LOCAL(user))) + if ((c->IsModeSet('i')) && (IS_LOCAL(user))) { if (c->GetStatus(user) < STATUS_HOP) { |