aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/post.php b/mod/post.php
index 7510a028f..c4254b10a 100644
--- a/mod/post.php
+++ b/mod/post.php
@@ -129,7 +129,7 @@ function post_init(&$a) {
} else {
logger('mod_zot: still not authenticated: ' . $x[0]['xchan_addr']);
- q("update hubloc set hubloc_status = ( hubloc_status ^ %d) where hubloc_addr = '%s'",
+ q("update hubloc set hubloc_status = (hubloc_status | %d ) where hubloc_addr = '%s'",
intval(HUBLOC_RECEIVE_ERROR),
$x[0][xchan_addr]
);