static void
fini(void)
{
- snomask_modes['W'] = find_snomask_slot();
+ snomask_modes['W'] = 0;
}
DECLARE_MODULE_AV1(sno_whois, init, fini, NULL, NULL, whois_hfnlist, "$Revision: 3498 $");
struct Client *source_p = data->client;
struct Client *target_p = data->target;
- if(MyClient(target_p) &&
+ if(MyClient(target_p) &&
#ifdef OPERONLY
IsOper(target_p) &&
#endif
":*** Notice -- %s (%s@%s) is doing a whois on you [%s]",
source_p->name,
source_p->username, source_p->host,
- source_p->user->server);
+ source_p->servptr->name);
}
}