helpops: MyClient() check is wrong, we only care if it is a Person or a Server

This commit is contained in:
William Pitcock 2016-09-16 12:57:34 -05:00
parent 8093dc5fb7
commit e47c4be18c

View file

@ -161,7 +161,7 @@ h_hdl_new_remote_user(struct Client *client_p)
static void
h_hdl_client_exit(hook_data_client_exit *hdata)
{
if (MyClient(hdata->target) && IsPerson(hdata->target))
if (IsPerson(hdata->target))
{
if (hdata->target->umodes & UMODE_HELPOPS)
rb_dlinkFindDestroy(hdata->target, &helper_list);