diff --git a/actions/qvitter.php b/actions/qvitter.php
index 52da0d9..e1fa570 100644
--- a/actions/qvitter.php
+++ b/actions/qvitter.php
@@ -132,7 +132,7 @@ class QvitterAction extends ApiAction
print ' '."\n";
// maybe openid
- if(!common_config('plugins','disable-OpenID')) {
+ if (array_key_exists('OpenID', StatusNet::getActivePlugins())) {
print ' '."\n";
print ' '."\n";
print ' '."\n";