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

BUILD : 1.7.4 (229) BUGS : 118 NOTES : Added warning for a config conflict between LocalAddress and RemoteServer

git-svn-id: svn://svn.anope.org/anope/trunk@229 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@162 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2004-07-05 18:48:30 +00:00
parent 3983d3accb
commit 7b2010245b
3 changed files with 21 additions and 1 deletions
+1
View File
@@ -1,6 +1,7 @@
Anope Version S V N
-------------------
Provided by Anope Dev. <dev@anope.org> - 2004
07/05 A Warning when LocalAddress conflicts with RemoteServer [#118]
06/18 A Added proper Bahamut1.8 support. [ #55]
07/04 F Fixed a bug with m_time. [ #00]
06/30 F Fixed bug which caused failure in anope crontab script. [ #00]
+15
View File
@@ -929,6 +929,21 @@ int read_config(int reload)
if (RemoteServer3)
CHECK(RemoteServer2);
}
if (!reload) {
if (LocalHost) {
if ((!stricmp(LocalHost, RemoteServer))
&& LocalPort == RemotePort) {
printf
("\n*** LocalAddress and RemoteServer are set to use the same IP address\n"
"*** (%s) and port (%d). This would have resulted in errors.\n"
"*** Change the LocalAddress to bind to another port.\n",
RemoteServer, LocalPort);
retval = 0;
}
}
}
CHECK(NetworkName);
if (!reload) {
CHEK2(temp_userhost, ServiceUser);
+5 -1
View File
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="4"
VERSION_BUILD="228"
VERSION_BUILD="229"
# $Log$
#
# BUILD : 1.7.4 (229)
# BUGS : 118
# NOTES : Added warning for a config conflict between LocalAddress and RemoteServer
#
# BUILD : 1.7.4 (228)
# BUGS :
# NOTES : Fixed a bug with m_time.