summaryrefslogtreecommitdiff
path: root/src/cmd_invite.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 15:44:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 15:44:03 +0000
commitdafc021be4f3ad34ca37953de6a0109a161dd165 (patch)
treef6263063894fa0a923656d64d0e3e1351e0e205f /src/cmd_invite.cpp
parent667bf736370b1d632f6ff99ce32bdcd7f0de9b3f (diff)
cmode(), cflags(), cstatus() -> chanrec::GetStatusChar(), chanrec::GetStatusFlags(), chanrec::GetStatus()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4837 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_invite.cpp')
-rw-r--r--src/cmd_invite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_invite.cpp b/src/cmd_invite.cpp
index 78de20cd8..33cc6bb5e 100644
--- a/src/cmd_invite.cpp
+++ b/src/cmd_invite.cpp
@@ -53,7 +53,7 @@ void cmd_invite::Handle (const char** parameters, int pcnt, userrec *user)
if ((c->modes[CM_INVITEONLY]) && (IS_LOCAL(user)))
{
- if (cstatus(user,c) < STATUS_HOP)
+ if (c->GetStatus(user) < STATUS_HOP)
{
user->WriteServ("482 %s %s :You must be at least a half-operator to change modes on this channel",user->nick, c->name);
return;