From edef3ac92b3017f390b9b6dd9fa29319ed92538c Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 22 Sep 2008 08:38:45 +0000 Subject: Windows compile fixes for RLine git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10591 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_rline.cpp | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_rline.cpp b/src/modules/m_rline.cpp index 8fb60385e..86af010de 100644 --- a/src/modules/m_rline.cpp +++ b/src/modules/m_rline.cpp @@ -15,12 +15,12 @@ #include "m_regex.h" #include "xline.h" -static Module* rxengine = 0; -static Module* mymodule = 0; /* Needed to let RLine send request! */ +static Module* rxengine = NULL; +static Module* mymodule = NULL; /* Needed to let RLine send request! */ /* $ModDesc: RLINE: Regexp user banning. */ -class CoreExport RLine : public XLine +class RLine : public XLine { public: @@ -89,10 +89,12 @@ class CoreExport RLine : public XLine /** An XLineFactory specialized to generate RLine* pointers */ -class CoreExport RLineFactory : public XLineFactory +class RLineFactory : public XLineFactory { public: - RLineFactory(InspIRCd* Instance) : XLineFactory(Instance, "R") { } + RLineFactory(InspIRCd* Instance) : XLineFactory(Instance, "R") + { + } /** Generate a RLine */ @@ -100,6 +102,10 @@ class CoreExport RLineFactory : public XLineFactory { return new RLine(ServerInstance, set_time, duration, source, reason, xline_specific_mask); } + + ~RLineFactory() + { + } }; /** Handle /RLINE -- cgit v1.2.3