From 938924e3729b5cdba0b87e9c932098fe08e88453 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 8 Mar 2006 23:33:24 +0000 Subject: These modules were using deprecated Server::IsOnChannel. They arent any more :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3563 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_chanprotect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_chanprotect.cpp') diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index 86f6876ae..a0a0da1e0 100644 --- a/src/modules/m_chanprotect.cpp +++ b/src/modules/m_chanprotect.cpp @@ -209,7 +209,7 @@ class ModuleChanProtect : public Module return -1; // given user isnt even on the channel, eat the mode change - if (!Srv->IsOnChannel(theuser,chan)) + if (!chan->HasUser(theuser)) return -1; // source is a server, or ulined, we'll let them +-q the user. @@ -252,7 +252,7 @@ class ModuleChanProtect : public Module return -1; // given user isnt even on the channel, eat the mode change - if (!Srv->IsOnChannel(theuser,chan)) + if (!chan->HasUser(theuser)) return -1; // source has +q, is a server, or ulined, we'll let them +-a the user. -- cgit v1.2.3