summaryrefslogtreecommitdiff
path: root/modules/extra/xmlrpc.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-25 16:21:21 -0400
committerAdam <Adam@anope.org>2011-09-10 01:58:38 -0400
commitf025d1b495cee3aadb6b7b45652d1cab3b7b7b6d (patch)
tree02df5a3f12104996af87d1b6c5ec9db9d45b6bde /modules/extra/xmlrpc.h
parent8c4417cad180f3c5448c5b7509b1bf2235e3077e (diff)
Made service_reference type safe
Diffstat (limited to 'modules/extra/xmlrpc.h')
-rw-r--r--modules/extra/xmlrpc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/xmlrpc.h b/modules/extra/xmlrpc.h
index 364617ecc..3a5c05332 100644
--- a/modules/extra/xmlrpc.h
+++ b/modules/extra/xmlrpc.h
@@ -55,10 +55,10 @@ class XMLRPCEvent
virtual void Run(XMLRPCServiceInterface *iface, XMLRPCClientSocket *source, XMLRPCRequest *request) = 0;
};
-class XMLRPCServiceInterface : public Service
+class XMLRPCServiceInterface : public Service<XMLRPCServiceInterface>
{
public:
- XMLRPCServiceInterface(Module *creator, const Anope::string &sname) : Service(creator, sname) { }
+ XMLRPCServiceInterface(Module *creator, const Anope::string &sname) : Service<XMLRPCServiceInterface>(creator, sname) { }
virtual void Register(XMLRPCEvent *event) = 0;