summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-11-06 21:07:49 -0400
committerAdam <Adam@anope.org>2010-12-12 19:30:14 -0500
commit87bdf73cb74c6b9c2822a9aa65d69c7d6297cc81 (patch)
tree67f24fd06e3f64d2ab78bbcaed39119ab79bc1e3 /modules
parent21c8e896715dae26c7c2863e0de90b6ff9268d65 (diff)
Document XMLRPC calls and added a .php class wrapper for them
Diffstat (limited to 'modules')
-rw-r--r--modules/extra/m_xmlrpc.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/extra/m_xmlrpc.cpp b/modules/extra/m_xmlrpc.cpp
index f71a260d0..4b15499b8 100644
--- a/modules/extra/m_xmlrpc.cpp
+++ b/modules/extra/m_xmlrpc.cpp
@@ -256,8 +256,11 @@ void MyXMLRPCClientSocket::HandleMessage()
{
if (name == "methodName")
request.name = data;
- else if (name == "id")
+ else if (name == "name" && data == "id")
+ {
+ this->GetData(name, data);
request.id = data;
+ }
else if (name == "string")
request.data.push_back(data);
}