1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 14:03:14 +02:00

- Added comment regarding MLOCK and set::restrict-chanmodes in unreal32docs.html.

- Made PREFIX_AQ a ./Config question at *NIX and enabled it by default at Win32.
This commit is contained in:
Bram Matthys
2003-11-21 15:13:45 +00:00
parent fd5579dbde
commit 948b4e61ad
9 changed files with 62 additions and 14 deletions
+2
View File
@@ -2591,3 +2591,5 @@ seen. gmtime warning still there
- A few example.conf changes.
- Fixed a compile problem on alpha, reported by Hyperi (#0001374).
- Made "operator count bug" not notice all opers (log only), unless in debugmode.
- Added comment regarding MLOCK and set::restrict-chanmodes in unreal32docs.html.
- Made PREFIX_AQ a ./Config question at *NIX and enabled it by default at Win32.
+39
View File
@@ -42,6 +42,9 @@ fi
if [ "$INET6" = "1" ] ; then
ARG="$ARG--enable-inet6 "
fi
if [ "$PREFIXAQ" = "1" ]; then
ARG="$ARG--enable-prefixaq "
fi
ARG="$ARG--with-listen=$LISTEN_SIZE "
ARG="$ARG--with-dpath=$DPATH "
ARG="$ARG--with-spath=$SPATH "
@@ -86,6 +89,7 @@ MAXSENDQLENGTH="3000000"
BUFFERPOOL="18"
MAXCONNECTIONS="1024"
INET6=""
PREFIXAQ=""
EXTRAPARA=""
if [ "`eval echo -n 'a'`" = "-n a" ] ; then
c="\c"
@@ -382,6 +386,40 @@ else
fi
fi
TEST=""
while [ -z "$TEST" ] ; do
if [ "$PREFIXAQ" = "1" ] ; then
TEST="Yes"
else
TEST="No"
fi
echo ""
echo "Do you want to enable prefixes for chanadmin and chanowner?"
echo "This will give +a the & prefix and ~ for +q (just like +o is @)"
echo "Supported by the major clients (mIRC, xchat, epic, eggdrop, Klient, PJIRC, etc.)"
echo "with the notable exceptions of irssi, KVIrc and CGI:IRC."
echo "This feature should be enabled/disabled network-wide."
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
cc=$TEST
fi
case "$cc" in
[Yy]*)
PREFIXAQ="1"
;;
[Nn]*)
PREFIXAQ=""
;;
*)
echo ""
echo "You must enter either Yes or No"
TEST=""
;;
esac
done
TEST=""
while [ -z "$TEST" ] ; do
TEST="$LISTEN_SIZE"
@@ -514,6 +552,7 @@ NOSPOOF="$NOSPOOF"
DPATH="$DPATH"
SPATH="$SPATH"
INET6="$INET6"
PREFIXAQ="$PREFIXAQ"
LISTEN_SIZE="$LISTEN_SIZE"
MAXSENDQLENGTH="$MAXSENDQLENGTH"
BUFFERPOOL="$BUFFERPOOL"
+1
View File
@@ -337,6 +337,7 @@ AC_DEFINE_UNQUOTED(MAXCONNECTIONS, $ac_fd)
AC_ARG_WITH(spath, [ --with-spath Specify the location of the executable],
AC_DEFINE_UNQUOTED(SPATH,"$withval") BINDIR="$withval",AC_DEFINE_UNQUOTED(SPATH,"`pwd`/src/ircd") BINDIR="`pwd`/src/ircd")
AC_ARG_ENABLE(nospoof, [ --enable-nospoof Enable spoofing protection], AC_DEFINE(NOSPOOF))
AC_ARG_ENABLE(prefixaq, [ --enable-prefixaq Enable chanadmin and chanprot prefixes], AC_DEFINE(PREFIX_AQ))
AC_ARG_ENABLE(hub, [ --enable-hub Compile as a hub server], AC_DEFINE(HUB))
CHECK_SSL
CHECK_ZLIB
Vendored
+9
View File
@@ -823,6 +823,7 @@ Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-nospoof Enable spoofing protection
--enable-prefixaq Enable chanadmin and chanprot prefixes
--enable-hub Compile as a hub server
--enable-ssl enable ssl will check /usr/local/ssl
/usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr
@@ -9489,6 +9490,14 @@ if test "${enable_nospoof+set}" = set; then
#define NOSPOOF 1
_ACEOF
fi;
# Check whether --enable-prefixaq or --disable-prefixaq was given.
if test "${enable_prefixaq+set}" = set; then
enableval="$enable_prefixaq"
cat >>confdefs.h <<\_ACEOF
#define PREFIX_AQ 1
_ACEOF
fi;
# Check whether --enable-hub or --disable-hub was given.
if test "${enable_hub+set}" = set; then
+5 -2
View File
@@ -21,7 +21,7 @@
<font size="4"><a href="http://www.unrealircd.com">http://www.unrealircd.com</a></font><br>
<font size="4">Version: 3.2</font><br>
<b>Current Version:</b> 3.2 Beta18<br>
<b>Last doc update:</b> 2003-11-18</div>
<b>Last doc update:</b> 2003-11-21</div>
<b>Head Coders:</b> Stskeeps / codemastr / Syzop / Luke / McSkaf<br>
<b>Contributors:</b> Zogg / NiQuiL / assyrian / chasm / DrBin / llthangel / Griever / nighthawk<br>
<b>Documentation:</b> CKnight^ / Syzop<br>
@@ -1796,7 +1796,10 @@ set {
<p><font class="set">set::restrict-channelmodes &lt;modes&gt;</font><br>
Restrict users to set/unset the channelmodes listed here (don't use + or -).<br>
For example you can set +G in modes-on-join and G in restrict-channelmodes,
that way you can force all (new) channels to be +G and unable to do -G.</p>
that way you can force all (new) channels to be +G and unable to do -G.<br>
NOTE: it may still be possible to use these channelmodes trough services
by using MLOCK. Unfortunately we can't do much about that, you would have
to ask the services coders to implement a restrict-channelmodes feature too.</p>
<p><font class="set">set::auto-join &lt;channels&gt;;</font><br>
The channel(s) a user will be forced to join at connection. To specify more
than one channel use a comma separated list.<br>
-10
View File
@@ -70,16 +70,6 @@
#undef NO_FDLIST
/* Defining this implements a very different handling of channel modes +a and +q.
* When set, users who are +q will have prefix ~, and +a prefix &. Chmode +a and +q
* now will also include all of the rights given to +o users, that is +oa is no longer
* needed, +a is fine. Additionally, due to this change, it is recommended that you only
* enable this option if you intend to enable it on ALL servers. At this time, this feature
* is still considered experimental.
*/
#undef PREFIX_AQ
/*
* Defining this will allow all ircops to see people in +s channels
* By default, only net/tech admins can see this
+3
View File
@@ -195,6 +195,9 @@
/* Define if you want spoof protection */
#undef NOSPOOF
/* Define if you want +a/+q prefixes */
#undef PREFIX_AQ
/* Define if you want to compile as a hub */
#undef HUB
+1
View File
@@ -48,4 +48,5 @@
#define DOMAINNAME "irc.net"
#define NO_U_TYPES
#define NEED_U_INT32_T
#define PREFIX_AQ
#endif
+2 -2
View File
@@ -1615,12 +1615,12 @@ void m_info_send(aClient *sptr)
me.name, RPL_INFO, sptr->name);
sendto_one(sptr, ":%s %d %s :| * codemastr <codemastr@unrealircd.com>",
me.name, RPL_INFO, sptr->name);
sendto_one(sptr, ":%s %d %s :| * Syzop <syzop@unrealircd.com>",
me.name, RPL_INFO, sptr->name);
sendto_one(sptr, ":%s %d %s :| * Luke <luke@unrealircd.com>",
me.name, RPL_INFO, sptr->name);
sendto_one(sptr, ":%s %d %s :| * McSkaf <mcskaf@unrealircd.com>",
me.name, RPL_INFO, sptr->name);
sendto_one(sptr, ":%s %d %s :| * Syzop <syzop@unrealircd.com>",
me.name, RPL_INFO, sptr->name);
sendto_one(sptr, ":%s %d %s :|", me.name, RPL_INFO, sptr->name);
sendto_one(sptr, ":%s %d %s :| Contributors:", me.name, RPL_INFO, sptr->name);
sendto_one(sptr, ":%s %d %s :|", me.name, RPL_INFO, sptr->name);