Index: Config
===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/Config,v
retrieving revision 1.1.1.1.4.1.2.58.2.11
diff -u -r1.1.1.1.4.1.2.58.2.11 Config
--- Config	14 Jun 2007 18:15:52 -0000	1.1.1.1.4.1.2.58.2.11
+++ Config	24 Jan 2008 06:26:46 -0000
@@ -41,6 +41,9 @@
 if [ "$OPEROVERRIDEVERIFY" = "1" ] ; then
 	ARG="$ARG--with-operoverride-verify "
 fi
+if [ "$SHOW_SECRET" = "1" ] ; then
+	ARG="$ARG--with-showsecret "
+fi
 fi
 if [ "$NOSPOOF" = "1" ] ; then
 ARG="$ARG--enable-nospoof "
@@ -275,6 +278,36 @@
     esac
 done
 
+TEST=""
+while [ -z "$TEST" ] ; do
+    if [ "$SHOW_SECRET" = "1" ] ; then
+	TEST="Yes"
+    else
+	TEST="No"
+    fi
+    echo ""
+    echo "Do you want IRCops to see all clients in an +s (secret) channel?"
+    echo "(Network Admins regardless can still see all clients in an +s channel)"
+    echo $n "[$TEST] -> $c"
+	read cc
+    if [ -z "$cc" ] ; then
+	cc=$TEST
+    fi
+    case "$cc" in
+	[Yy]*)
+	    SHOW_SECRET="1"
+	    ;;
+	[Nn]*)
+	    SHOW_SECRET=""
+	    ;;
+	*)
+	    echo ""
+	    echo "You must enter either Yes or No"
+	    TEST=""
+	    ;;
+    esac
+done
+
 }
 c=""
 n=""
@@ -304,6 +337,7 @@
 NOOPEROVERRIDE=""
 DISABLEUSERMOD=""
 OPEROVERRIDEVERIFY=""
+SHOW_SECRET="1"
 EXTRAPARA=""
 if [ "`eval echo -n 'a'`" = "-n a" ] ; then
         c="\c"
@@ -852,6 +886,7 @@
 NOOPEROVERRIDE="$NOOPEROVERRIDE"
 DISABLEUSERMOD="$DISABLEUSERMOD"
 OPEROVERRIDEVERIFY="$OPEROVERRIDEVERIFY"
+SHOW_SECRET="$SHOW_SECRET"
 EXTRAPARA="$EXTRAPARA"
 ADVANCED="$ADVANCED"
 __EOF__
Index: configure
===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/Attic/configure,v
retrieving revision 1.1.2.96.2.23
diff -u -r1.1.2.96.2.23 configure
--- configure	12 Jun 2007 00:06:33 -0000	1.1.2.96.2.23
+++ configure	24 Jan 2008 07:13:10 -0000
@@ -875,6 +875,8 @@
   --with-disableusermod   Disable /set* and /chg*
   --with-operoverride-verify
                           Require opers to invite themselves to +s/+p channels
+  --with-with-showsecret
+                          All IRCops can view clients in an +s channel
 
 Some influential environment variables:
   CC          C compiler command
@@ -12039,6 +12041,15 @@
 
 fi;
 
+# Check whether --with-showsecret or --without-showsecret was given.
+if test "${with_showsecret+set}" = set; then
+  withval="$with_showsecret"
+  cat >>confdefs.h <<\_ACEOF
+#define SHOW_SECRET 1
+_ACEOF
+
+fi;
+
 # Check whether --enable-ssl or --disable-ssl was given.
 if test "${enable_ssl+set}" = set; then
   enableval="$enable_ssl"
Index: include/config.h
===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/include/config.h,v
retrieving revision 1.1.1.1.6.1.2.97.2.14
diff -u -r1.1.1.1.6.1.2.97.2.14 config.h
--- include/config.h	17 Jun 2007 12:43:52 -0000	1.1.1.1.6.1.2.97.2.14
+++ include/config.h	24 Jan 2008 07:14:25 -0000
@@ -72,9 +72,9 @@
 
 /*
  * Defining this will allow all ircops to see people in +s channels
- * By default, only net/tech admins can see this
+ * By default, only net admins can see this
  */
-#define SHOW_SECRET
+/* #define SHOW_SECRET 1 */
 
 /*
  * Admin's chat...
Index: include/setup.h.in
===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/include/Attic/setup.h.in,v
retrieving revision 1.1.2.15.2.4
diff -u -r1.1.2.15.2.4 setup.h.in
--- include/setup.h.in	25 Jul 2005 21:11:27 -0000	1.1.2.15.2.4
+++ include/setup.h.in	24 Jan 2008 07:14:13 -0000
@@ -240,6 +240,9 @@
 /* Define if you want opers to have to use /invite to join +s/+p channels */
 #undef OPEROVERRIDE_VERIFY
 
+/* Define if you want all IRCops to view clients in an +s channel */
+#undef SHOW_SECRET
+
 /* Define if you want to disable /set* and /chg* */
 #undef DISABLE_USERMOD
 
