summaryrefslogtreecommitdiff
path: root/inc/remote.php
diff options
context:
space:
mode:
authorDominik Eckelmann <deckelmann@gmail.com>2012-03-21 11:04:12 +0100
committerDominik Eckelmann <deckelmann@gmail.com>2012-03-21 11:04:12 +0100
commitc2eb026d070a5ba9ba1ee8754c3a862a026a7ea8 (patch)
treeeeb142a4d56b12e84363b4e07afc19f717daaa6f /inc/remote.php
parent4ea1d54936a1d1e9b919e06639632bc2ac65f6d3 (diff)
downloadrpg-c2eb026d070a5ba9ba1ee8754c3a862a026a7ea8.tar.gz
rpg-c2eb026d070a5ba9ba1ee8754c3a862a026a7ea8.tar.bz2
changed error code for unauthorized method calls.
Diffstat (limited to 'inc/remote.php')
-rw-r--r--inc/remote.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/remote.php b/inc/remote.php
index fb095f517..b4cc8e6cc 100644
--- a/inc/remote.php
+++ b/inc/remote.php
@@ -158,7 +158,7 @@ class RemoteAPI {
*/
public function forceAccess() {
if (!$this->hasAccess()) {
- throw new RemoteAccessDeniedException('server error. not authorized to call method', -32603);
+ throw new RemoteAccessDeniedException('server error. not authorized to call method', -32604);
}
}