extensions/chm_nonotice: fix typo
This commit is contained in:
parent
b8c16fdaba
commit
b181432121
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ chm_nonotice_process(hook_data_privmsg_channel *data)
|
||||||
if (data->approved || data->msgtype != MESSAGE_TYPE_NOTICE)
|
if (data->approved || data->msgtype != MESSAGE_TYPE_NOTICE)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (data->chptr.mode.mode & mode_nonotice)
|
if (data->chptr->mode.mode & mode_nonotice)
|
||||||
{
|
{
|
||||||
data->approved = ERR_CUSTOM;
|
data->approved = ERR_CUSTOM;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue