mirror of
https://github.com/anope/anope.git
synced 2026-06-30 21:26:37 +02:00
Remove workaround that is no longer needed
This workaround was required previously but breaks the code with the corrections to the XML-RPC response.
This commit is contained in:
@@ -33,8 +33,8 @@ class AnopeXMLRPC
|
||||
$inbuf = file_get_contents($this->Host, false, $context);
|
||||
$response = xmlrpc_decode($inbuf);
|
||||
|
||||
if (isset($response[0]))
|
||||
return $response[0];
|
||||
if (isset($response))
|
||||
return $response;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user