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/modes/cmode_b.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modes/cmode_b.cpp') diff --git a/src/modes/cmode_b.cpp b/src/modes/cmode_b.cpp index d0c783ad9..d03213f2e 100644 --- a/src/modes/cmode_b.cpp +++ b/src/modes/cmode_b.cpp @@ -27,7 +27,7 @@ ModeChannelBan::ModeChannelBan() : ModeHandler('b', 1, 1, true, MODETYPE_CHANNEL ModeAction ModeChannelBan::OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding) { - int status = cstatus(source, channel); + int status = channel->GetStatus(source); /* Call the correct method depending on wether we're adding or removing the mode */ if (adding) { -- cgit v1.2.3