]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Process.pl
A can unlobotomize
[infobot.git] / src / Process.pl
index 8b58869a2338219eae005484eddb2b03d7ebdbbd..aea3e1e5561795852b72d733b428e3652fe0876c 100644 (file)
@@ -48,7 +48,7 @@ sub process {
            &msg($who, "give me an unlobotomy.") if ($delta_time > 60*60);
            $cache{lobotomy}{$who} = time();
        }
-       return 'LOBOTOMY';
+       return 'LOBOTOMY' unless IsFlag("A");
     }
 
     # talkMethod.
@@ -157,7 +157,7 @@ sub process {
            return;
        }
 
-       # todo: use &getUser()?
+       # TODO: use &getUser()?
        my $first       = 1;
        foreach (keys %users) {
            if ($users{$_}{FLAGS} =~ /n/) {