Bryan Drewery %!s(int64=21) %!d(string=hai) anos
pai
achega
9a66475b95
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/chanprog.c

+ 1 - 1
src/chanprog.c

@@ -456,7 +456,7 @@ void load_internal_users()
           egg_snprintf(host, sizeof host, "-telnet!%s@%s", hosts, ip);
           egg_snprintf(host, sizeof host, "-telnet!%s@%s", hosts, ip);
           set_user(&USERENTRY_HOSTS, u, host);
           set_user(&USERENTRY_HOSTS, u, host);
           hosts = ln;
           hosts = ln;
-          if (ln && ((ln = strchr(ln, ' ')))
+          if (ln && (ln = strchr(ln, ' ')))
             *ln++ = 0;
             *ln++ = 0;
         }
         }
         egg_snprintf(host, sizeof host, "-telnet!telnet@%s", ip);
         egg_snprintf(host, sizeof host, "-telnet!telnet@%s", ip);