]> git.donarmstrong.com Git - infobot.git/commitdiff
ops are never outsiders
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 2 Feb 2010 01:27:10 +0000 (01:27 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 2 Feb 2010 01:27:10 +0000 (01:27 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1883 c11ca15a-4712-0410-83d8-924469b57eb5

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 ) {