summaryrefslogtreecommitdiff
path: root/src/modules/m_nokicks.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-09 23:33:36 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-09 23:33:36 +0000
commit50460419e6f76eecd57dc72a4f2fcc88dc114a50 (patch)
treef0f521202f9274755b2e456163764360f1188937 /src/modules/m_nokicks.cpp
parent765cdd25cb1e3ad1b38a11865a9730e65be4b4e6 (diff)
Fixed m_redirect.so which was claiming every mode that came its way!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@803 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_nokicks.cpp')
-rw-r--r--src/modules/m_nokicks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_nokicks.cpp b/src/modules/m_nokicks.cpp
index 5050101e0..b90932e6c 100644
--- a/src/modules/m_nokicks.cpp
+++ b/src/modules/m_nokicks.cpp
@@ -8,7 +8,7 @@
class ModuleNoKicks : public Module
{
- ConfigReader *Conf;
+ Server *Srv;
public:
@@ -32,7 +32,7 @@ class ModuleNoKicks : public Module
else
{
// nobody else can (not even opers with override, and founders)
- WriteServ(source->fd,"484 %s %s :Can't kick user %s from channel (+Q set)",source->nick, c->name,dest->nick);
+ WriteServ(source->fd,"484 %s %s :Can't kick user %s from channel (+Q set)",source->nick, channel->name,dest->nick);
return ACR_DENY;
}
}