summaryrefslogtreecommitdiff
path: root/src/modules/m_chanprotect.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-08 23:33:24 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-08 23:33:24 +0000
commit938924e3729b5cdba0b87e9c932098fe08e88453 (patch)
tree08d0fd219c81f7a87ae9bcc81a5baa87ca2f92ee /src/modules/m_chanprotect.cpp
parent33df390bfff01ca58551f24096cdd70034052d98 (diff)
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
Diffstat (limited to 'src/modules/m_chanprotect.cpp')
-rw-r--r--src/modules/m_chanprotect.cpp4
1 files changed, 2 insertions, 2 deletions
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.