Capitalization fix in memcached setting
[lhc/web/wiklou.git] / includes / SpecialBlockip.php
index 34fde40..f3e1534 100644 (file)
@@ -12,7 +12,7 @@
 function wfSpecialBlockip() {
        global $wgUser, $wgOut, $wgRequest;
 
-       if ( ! $wgUser->isSysop() ) {
+       if ( ! $wgUser->isAllowed('block') ) {
                $wgOut->sysopRequired();
                return;
        }