helpops: MyClient() check is wrong, we only care if it is a Person or a Server
This commit is contained in:
parent
8093dc5fb7
commit
e47c4be18c
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ h_hdl_new_remote_user(struct Client *client_p)
|
||||||
static void
|
static void
|
||||||
h_hdl_client_exit(hook_data_client_exit *hdata)
|
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)
|
if (hdata->target->umodes & UMODE_HELPOPS)
|
||||||
rb_dlinkFindDestroy(hdata->target, &helper_list);
|
rb_dlinkFindDestroy(hdata->target, &helper_list);
|
||||||
|
|
Loading…
Reference in a new issue