diff options
Diffstat (limited to 'docs/RPC/xmlrpc.php')
-rw-r--r-- | docs/RPC/xmlrpc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/RPC/xmlrpc.php b/docs/RPC/xmlrpc.php index 90f07a944..eaa22cec9 100644 --- a/docs/RPC/xmlrpc.php +++ b/docs/RPC/xmlrpc.php @@ -85,7 +85,7 @@ class AnopeXMLRPC { $ret = $this->run("checkAuthentication", [$account, $pass]); - if ($ret && $ret["result"] == "Success") { + if ($ret && array_key_exists("account", $ret)) { return $ret["account"]; } |