]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Process.pl
ops are never outsiders
[infobot.git] / src / Process.pl
index 21c2a69b88def607c7873a32766c52ed7d5a9de8..eeaf9d48cbd5465a03ee7eb75914b67282791934 100644 (file)
@@ -201,7 +201,7 @@ sub process {
     }
 
     # allowOutsiders.
-    if ( &IsParam('disallowOutsiders') and $msgType =~ /private/i ) {
+    if ( &IsParam('disallowOutsiders') and $msgType =~ /private/i and IsFlag('o') ne 'o' ) {
         my $found = 0;
 
         foreach ( keys %channels ) {