Added duplicate remote check

This commit is contained in:
Michiel Broek 2005-12-09 19:25:48 +00:00
parent fd276b8392
commit 5fbc359315
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ v0.83.4 04-Dec-2005
mbtask:
Experimental code to recover from a half dead chatlink.
Added some protection against looped configuration.
v0.83.3 03-Dec-2005 - 04-Dec-2005

View File

@ -638,7 +638,7 @@ void check_servers(void)
}
}
for (srv = servers; srv; srv = srv->next) {
if (strcmp(srv->server, ibcsrv.server) == 0) {
if ((strcmp(srv->server, ibcsrv.server) == 0) && (strcmp(srv->router, ibcsrv.server))) {
inlist = TRUE;
Syslog('+', "IBC: can't add new configured server %s: already connected via %s",
ibcsrv.server, srv->router);