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

+ 1 - 1
src/mod/irc.mod/irc.c

@@ -464,7 +464,7 @@ check_hostmask()
   sprintf(s, "*!%s", tmp);		/* just add actual user@ident, regardless of ~ */
 
   /* dont add the host if it conflicts with another in the userlist */
-  if (u = get_user_by_host(s)) {
+  if ((u = get_user_by_host(s))) {
     if (u != conf.bot->u)
       putlog(LOG_WARN, "*", "My automatic hostmask '%s' would conflict with user: '%s'. (Not adding)", s, u->handle);
     return;