mirror of
https://github.com/anope/anope.git
synced 2026-07-04 21:13:12 +02:00
BUILD : 1.7.11 (913) BUGS : NOTES : Turned NickLen into RECOMMENDED and BSFantasyCharacter into OPTIONAL
git-svn-id: svn://svn.anope.org/anope/trunk@913 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@659 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
6d2b700767
commit
96c98e6eea
@@ -4,6 +4,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005
|
||||
10/01 A Information on uplink server can be displayed via OperServ STATS. [ #00]
|
||||
09/29 A Configuration option to change fantasy command prefix character. [ #00]
|
||||
09/28 A Event for fantasy commands triggered without channel access. [ #00]
|
||||
10/05 F Changed NickLen and BSFantasyChar into recommended and optional. [ #00]
|
||||
10/04 F Added missing hs_request to win32 modules makefile. [ #00]
|
||||
10/03 F Changed error on identical userkeys into a warning. [ #00]
|
||||
10/02 F Added check in OperServ stats to avoid segfault without param. [ #00]
|
||||
|
||||
+7
-6
@@ -320,7 +320,7 @@ NetworkName "LocalNet"
|
||||
# consult your ircds documentation before using this
|
||||
#Numeric "64"
|
||||
|
||||
# NickLen [REQUIRED]
|
||||
# NickLen [RECOMMENDED]
|
||||
# Set this to the maximum allowed nick length on your network. Anope does
|
||||
# not support values larger than 31, so setting them makes no sense. Be
|
||||
# sure to set this correctly, as setting this wrong can result in services
|
||||
@@ -1048,13 +1048,14 @@ BSGentleBWReason
|
||||
|
||||
# BSCaseSensitive
|
||||
|
||||
# BSFantasyCharacter [REQUIRED]
|
||||
# BSFantasyCharacter [OPTIONAL]
|
||||
# This option allows you to change the default prefix for fantasy
|
||||
# commands in channels. This character will have to be prepended to all
|
||||
# fantasy commands. If you choose "!" (the default), fantasy commands
|
||||
# will, for example, be "!kick", "!op", etc.
|
||||
# commands in channels. This character will have to be prepended to
|
||||
# all fantasy commands. If you choose "!", fantasy commands will, for
|
||||
# example, be "!kick", "!op", etc. If left out, the default fantasy
|
||||
# character will be "!".
|
||||
|
||||
BSFantasyCharacter "!"
|
||||
# BSFantasyCharacter "!"
|
||||
|
||||
###########################################################################
|
||||
#
|
||||
|
||||
+10
-3
@@ -950,7 +950,6 @@ int read_config(int reload)
|
||||
CHECK(RemoteServer);
|
||||
CHECK(ServerName);
|
||||
CHECK(ServerDesc);
|
||||
CHECK(NickLen);
|
||||
|
||||
if (RemoteServer3)
|
||||
CHECK(RemoteServer2);
|
||||
@@ -967,8 +966,15 @@ int read_config(int reload)
|
||||
}
|
||||
}
|
||||
|
||||
if (NickLen >= NICKMAX)
|
||||
if (NickLen == 0) {
|
||||
alog("You have not defined the NickLen configuration directive. It is strongly");
|
||||
alog("advised that you do configure this correctly in your services.conf");
|
||||
NickLen = NICKMAX - 1;
|
||||
} else if ((NickLen < 1) || (NickLen >= NICKMAX)) {
|
||||
alog("NickLen has an invalid value; setting to %d",
|
||||
(NICKMAX - 1));
|
||||
NickLen = NICKMAX - 1;
|
||||
}
|
||||
}
|
||||
|
||||
CHECK(IRCDModule);
|
||||
@@ -1319,7 +1325,6 @@ int read_config(int reload)
|
||||
CHECK(BSBadWordsMax);
|
||||
CHECK(BSMinUsers);
|
||||
CHECK(BSKeepData);
|
||||
CHECK(BSFantasyCharacter);
|
||||
if (s_BotServAlias) {
|
||||
if (!stricmp(s_BotServ, s_BotServAlias)) {
|
||||
printf
|
||||
@@ -1327,6 +1332,8 @@ int read_config(int reload)
|
||||
retval = 0;
|
||||
}
|
||||
}
|
||||
if (!BSFantasyCharacter)
|
||||
BSFantasyCharacter = "!";
|
||||
if (BSFantasyCharacter && (strlen(BSFantasyCharacter) > 1)) {
|
||||
printf
|
||||
("*** BSFantasyCharacter is more than 1 character long. Only the first\n"
|
||||
|
||||
+5
-1
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="11"
|
||||
VERSION_EXTRA="-svn"
|
||||
VERSION_BUILD="912"
|
||||
VERSION_BUILD="913"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.11 (913)
|
||||
# BUGS :
|
||||
# NOTES : Turned NickLen into RECOMMENDED and BSFantasyCharacter into OPTIONAL
|
||||
#
|
||||
# BUILD : 1.7.11 (912)
|
||||
# BUGS :
|
||||
# NOTES : Turned identical userkeys error into a warning and added hs_request to src/modules/makefile.inc.win32
|
||||
|
||||
Reference in New Issue
Block a user