summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/omb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/omb.php b/lib/omb.php
index b7731dc3a..a18f0074f 100644
--- a/lib/omb.php
+++ b/lib/omb.php
@@ -47,7 +47,7 @@ function omb_oauth_consumer() {
function omb_oauth_server() {
static $server = null;
- if ($server) {
+ if (!$server) {
$server = new OAuthServer(new LaconicaOAuthStore());
}
return $server;