From a718223585cd54bf9a7e2fad9749dc5301a9002d Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 1 Apr 2015 23:27:44 +0200 Subject: Remove workaround that is no longer needed This workaround was required previously but breaks the code with the corrections to the XML-RPC response. --- docs/XMLRPC/xmlrpc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/XMLRPC/xmlrpc.php b/docs/XMLRPC/xmlrpc.php index c469ab05a..ef5e9a00c 100644 --- a/docs/XMLRPC/xmlrpc.php +++ b/docs/XMLRPC/xmlrpc.php @@ -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; } -- cgit