]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Factoids/Core.pl
- forgot these changes to allow for +O userfile support.
[infobot.git] / src / Factoids / Core.pl
index 41ed537399d9de603c3aabbf2b66a14621eec15c..9b36852eba1119ea17d7340e266b5a20dc4990f0 100644 (file)
@@ -166,7 +166,7 @@ sub FactoidStuff {
        my $isau        = (defined $author and &IsHostMatch($author) == 2) ? 1 : 0;
        my $isop        = (&IsFlag("o") eq "o") ? 1 : 0;
 
-       if (IsFlag("r") ne "r") {
+       if (IsFlag("r") ne "r" && !$isop) {
            &msg($who, "you don't have access to remove factoids");
            return;
        }