Remove unused 'unlink' argument from check_whowas_nick_buffer()
Every caller was passing 0 for unlink, so remove it. This simplifies the function. Also change the nick and channel arguments to const char *.
This commit is contained in:
@@ -3842,7 +3842,7 @@ void userhost_ignore (UserhostItem *stuff, char *nick1, char *args)
|
||||
arg = next_arg(args, &args);
|
||||
if (!stuff || !stuff->nick || !strcmp(stuff->user, "<UNKNOWN>") || my_stricmp(stuff->nick, nick1))
|
||||
{
|
||||
if ((whowas = check_whowas_nick_buffer(nick1, arg, 0)))
|
||||
if ((whowas = check_whowas_nick_buffer(nick1, arg)))
|
||||
{
|
||||
bitchsay("Using WhoWas info for %s of %s ", arg, nick1);
|
||||
user = host; host = strchr(host, '@'); *host++ = 0;
|
||||
|
||||
Reference in New Issue
Block a user