From dafc021be4f3ad34ca37953de6a0109a161dd165 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Aug 2006 15:44:03 +0000 Subject: 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 --- src/mode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mode.cpp') diff --git a/src/mode.cpp b/src/mode.cpp index 266d06350..d34770ab4 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -309,7 +309,7 @@ void ModeParser::Process(const char** parameters, int pcnt, userrec *user, bool * (e.g. are they a (half)op? */ - if ((IS_LOCAL(user)) && (cstatus(user, targetchannel) < STATUS_HOP)) + if ((IS_LOCAL(user)) && (targetchannel->GetStatus(user) < STATUS_HOP)) { /* We don't have halfop */ log(DEBUG,"The user is not a halfop or above, checking other reasons for being able to set the modes"); -- cgit v1.3.1-10-gc9f91