diff --git a/lib/omb.php b/lib/omb.php index b7731dc3ae..a18f0074f4 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;