1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 21:03:12 +02:00

Allow getting users opertype from XMLRPC requests

This commit is contained in:
Adam
2010-12-10 15:34:52 -05:00
parent 9f7a2e4da2
commit 2a4d0e3e89
5 changed files with 53 additions and 6 deletions
+2
View File
@@ -18,6 +18,7 @@ class MyXMLRPCClientSocket : public XMLRPCClientSocket
if (message.find("</methodCall>") != Anope::string::npos)
{
Log(LOG_DEBUG) << "m_xmlrpc: Processing message";
this->HandleMessage();
this->query.clear();
}
@@ -254,6 +255,7 @@ void MyXMLRPCClientSocket::HandleMessage()
while (this->GetData(name, data))
{
Log(LOG_DEBUG) << "m_xmlrpc: Tag name: " << name << ", data: " << data;
if (name == "methodName")
request.name = data;
else if (name == "name" && data == "id")