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/modules/m_remove.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/m_remove.cpp') diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp index 587edac86..354fe7a8d 100644 --- a/src/modules/m_remove.cpp +++ b/src/modules/m_remove.cpp @@ -127,8 +127,8 @@ class RemoveBase } else { - log(DEBUG, "Setting ulevel to %s", Srv->ChanMode(user, channel).c_str()); - ulevel = chartolevel(Srv->ChanMode(user, channel)); + log(DEBUG, "Setting ulevel to %s", channel->GetStatusChar(user)); + ulevel = chartolevel(channel->GetStatusChar(user)); } /* Now it's the same idea, except for the target. If they're ulined make sure they get a higher level than the sender can */ @@ -149,8 +149,8 @@ class RemoveBase } else { - log(DEBUG, "Setting tlevel to %s", Srv->ChanMode(target, channel).c_str()); - tlevel = chartolevel(Srv->ChanMode(target, channel)); + log(DEBUG, "Setting tlevel to %s", channel->GetStatusChar(target)); + tlevel = chartolevel(channel->GetStatusChar(target)); } hasnokicks = (Srv->FindModule("m_nokicks.so") && channel->IsModeSet('Q')); -- cgit v1.2.3