1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 00:13:13 +02:00

Fix sending RPC responses after the previous commit.

This commit is contained in:
Sadie Powell
2025-02-18 20:54:58 +00:00
parent 3c55fbe650
commit 8330cd119a
5 changed files with 40 additions and 31 deletions
+2 -8
View File
@@ -118,14 +118,8 @@ public:
}
xmlrpc_DECREF(params);
event->second->Run(this, client, request);
if (request.GetError())
{
xmlrpc_env_set_fault(&env, request.GetError()->first, request.GetError()->second.c_str());
SendError(reply, env);
return true;
}
if (!event->second->Run(this, client, request))
return false;
this->Reply(request);
return true;