Added duplicate remote check
This commit is contained in:
parent
fd276b8392
commit
5fbc359315
@ -4,6 +4,7 @@ v0.83.4 04-Dec-2005
|
|||||||
|
|
||||||
mbtask:
|
mbtask:
|
||||||
Experimental code to recover from a half dead chatlink.
|
Experimental code to recover from a half dead chatlink.
|
||||||
|
Added some protection against looped configuration.
|
||||||
|
|
||||||
|
|
||||||
v0.83.3 03-Dec-2005 - 04-Dec-2005
|
v0.83.3 03-Dec-2005 - 04-Dec-2005
|
||||||
|
@ -638,7 +638,7 @@ void check_servers(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (srv = servers; srv; srv = srv->next) {
|
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;
|
inlist = TRUE;
|
||||||
Syslog('+', "IBC: can't add new configured server %s: already connected via %s",
|
Syslog('+', "IBC: can't add new configured server %s: already connected via %s",
|
||||||
ibcsrv.server, srv->router);
|
ibcsrv.server, srv->router);
|
||||||
|
Reference in New Issue
Block a user