diff options
| author | 2007-07-23 18:06:57 +0000 | |
|---|---|---|
| committer | 2007-07-23 18:06:57 +0000 | |
| commit | 10ef0fde2e1832f0684ae142a582cb5f032bfe6a (patch) | |
| tree | 11bb007b9d1aa0630641c000d59b3715c025f442 /src/cmd_invite.cpp | |
| parent | Make these notices a little more helpful (diff) | |
Tidyup a bunch of stuff that was using userrec::modes directly rather than userrec::IsModeSet. Same for chanrec.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7506 e03df62e-2008-0410-955e-edbf42e46eb7
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) { |
