free(uInfo);
}
-static int
+static void
spamserv_new_user_func(struct userNode *user)
{
if(!IsLocal(user))
spamserv_create_user(user);
-
- return 0;
}
static void
int size = strlen(user->hostname) + 3;
char *mask = alloca(size);
snprintf(mask, size, "*@%s", user->hostname);
- gline_add(spamserv->nick, mask, spamserv_conf.gline_duration, reason, now, now, 1);
+ gline_add(spamserv->nick, mask, spamserv_conf.gline_duration, reason, now, now, 0, 1);
spamserv_debug(SSMSG_DEBUG_GLINE, user->nick, user->hostname, channel->name);
}
else if(CHECK_KILL(uInfo))