sendmessagetouser(mynick,(nick *)sender,"Nick : %s",target->nick);
sendmessagetouser(mynick,(nick *)sender,"Numeric : %s",longtonumeric(target->numeric,5));
sendmessagetouser(mynick,(nick *)sender,"User@Host : %s@%s (%d user(s) on this host)",target->ident,target->host->name->content,target->host->clonecount);
- sendmessagetouser(mynick,(nick *)sender,"IP address: %s",IPtostr(target->p_ipaddr));
+ sendmessagetouser(mynick,(nick *)sender,"IP address: %s",IPtostr(target->ipaddress));
sendmessagetouser(mynick,(nick *)sender,"Realname : %s (%d user(s) have this realname)",target->realname->name->content,target->realname->usercount);
if (target->umodes) {
sendmessagetouser(mynick,(nick *)sender,"Umode(s) : %s",printflags(target->umodes,umodeflags));
}
irc_send("%s SQ %s 0 :%s",mynumeric->content,myserver->content,cargv[0]);
- irc_disconnected();
+ irc_disconnected(0);
return CMD_OK;
}