summaryrefslogtreecommitdiff
path: root/modules/m_xmlrpc_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/m_xmlrpc_main.cpp')
-rw-r--r--modules/m_xmlrpc_main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/m_xmlrpc_main.cpp b/modules/m_xmlrpc_main.cpp
index cdc12ed7f..948ab6288 100644
--- a/modules/m_xmlrpc_main.cpp
+++ b/modules/m_xmlrpc_main.cpp
@@ -19,7 +19,7 @@ class XMLRPCIdentifyRequest : public IdentifyRequest
Reference<HTTPClient> client;
Reference<XMLRPCServiceInterface> xinterface;
- public:
+public:
XMLRPCIdentifyRequest(Module *m, XMLRPCRequest& req, HTTPClient *c, XMLRPCServiceInterface* iface, const Anope::string &acc, const Anope::string &pass) : IdentifyRequest(m, acc, pass), request(req), repl(request.r), client(c), xinterface(iface) { }
void OnSuccess() override
@@ -52,7 +52,7 @@ class XMLRPCIdentifyRequest : public IdentifyRequest
class MyXMLRPCEvent : public XMLRPCEvent
{
- public:
+public:
bool Run(XMLRPCServiceInterface *iface, HTTPClient *client, XMLRPCRequest &request) override
{
if (request.name == "command")
@@ -73,7 +73,7 @@ class MyXMLRPCEvent : public XMLRPCEvent
return true;
}
- private:
+private:
void DoCommand(XMLRPCServiceInterface *iface, HTTPClient *client, XMLRPCRequest &request)
{
Anope::string service = request.data.size() > 0 ? request.data[0] : "";
@@ -281,7 +281,7 @@ class ModuleXMLRPCMain : public Module
MyXMLRPCEvent stats;
- public:
+public:
ModuleXMLRPCMain(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR), xmlrpc("XMLRPCServiceInterface", "xmlrpc")
{
me = this;