need to build to get the pot
[ikiwiki.git] / ikiwiki.in
index 11d562523807ea448c73ff81898d30341804830f..c762712ba3caf1e7a62d44befef0dbb7b39c113b 100755 (executable)
@@ -65,7 +65,7 @@ sub getconfig () { #{{{
                                push @{$config{plugin}}, $_[1];
                        },
                        "disable-plugin=s@" => sub {
-                               $config{plugin}=[grep { $_ ne $_[1] } @{$config{plugin}}];
+                               push @{$config{disable_plugins}}, $_[1];
                        },
                        "pingurl=s" => sub {
                                push @{$config{pingurl}}, $_[1];