Browse Source

* Don't require hostname matching on unix domain sockets

Bryan Drewery 16 years ago
parent
commit
3d02b16f86
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/dcc.c

+ 1 - 1
src/dcc.c

@@ -1795,7 +1795,7 @@ dcc_telnet_id(int idx, char *buf, int atr)
   } else {
   }
 
-  if (dcc[idx].bot) {
+  if (dcc[idx].bot && !(dcc[idx].status & STAT_UNIXDOMAIN)) {
     char shost[UHOSTLEN + 20] = "", sip[UHOSTLEN + 20] = "", user[30] = "";
     simple_snprintf(shost, sizeof(shost), "-telnet!%s", dcc[idx].host);
     char *p = strchr(dcc[idx].host, '@');