summaryrefslogtreecommitdiff
path: root/src/modules/m_shun.cpp
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-04-06 00:07:29 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-04-06 00:07:29 +0000
commitfcafba14c5408360ec725ed1649ede75b7ae52c1 (patch)
tree32c6b69a76f125a4e117e99cf7a8532b4edf6dbf /src/modules/m_shun.cpp
parent403fe8fd978eca00f07aebd7c3d1771075563e14 (diff)
Weed out a few leftover server instances from before modules had ServerInstance. Patch by Ankit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11287 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_shun.cpp')
-rw-r--r--src/modules/m_shun.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp
index 91be7c10f..6fdc4c772 100644
--- a/src/modules/m_shun.cpp
+++ b/src/modules/m_shun.cpp
@@ -80,11 +80,8 @@ class ShunFactory : public XLineFactory
class CommandShun : public Command
{
- private:
- InspIRCd *Srv;
-
public:
- CommandShun(InspIRCd* Me) : Command(Me, "SHUN", "o", 1, 3), Srv(Me)
+ CommandShun(InspIRCd* Me) : Command(Me, "SHUN", "o", 1, 3)
{
this->source = "m_shun.so";
this->syntax = "<nick!user@hostmask> [<shun-duration>] :<reason>";