Allow the TITLE command to skip high security checks.
authorpdbogen <pdbogen@088b83a4-0077-4247-935c-42ec02c2848b>
Mon, 1 Jun 2009 22:37:31 +0000 (22:37 +0000)
committerpdbogen <pdbogen@088b83a4-0077-4247-935c-42ec02c2848b>
Mon, 1 Jun 2009 22:37:31 +0000 (22:37 +0000)
git-svn-id: https://www.cernu.us/~pdbogen/svn/destult2@97 088b83a4-0077-4247-935c-42ec02c2848b

core.pl

diff --git a/core.pl b/core.pl
index 3fc4042..e3c6260 100644 (file)
--- a/core.pl
+++ b/core.pl
@@ -153,7 +153,7 @@ sub cmd {
 
        if( $Destult::config{ 'SECURITY' } =~ /high/i &&
            !exists $heap->{ 'identified' }->{ $src.uc( $who ) } &&
-           $cmd !~ /identify|register/i ) {
+           $cmd !~ /identify|register|title/i ) {
                $kernel->post( $src,
                               $replypath,
                               "$who: Destult is operating in high security mode; all use must be from identified users. Please REGISTER and then IDENTIFY.",