mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
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)
|
||||
return;
|
||||
|
||||
if (data->chptr.mode.mode & mode_nonotice)
|
||||
if (data->chptr->mode.mode & mode_nonotice)
|
||||
{
|
||||
data->approved = ERR_CUSTOM;
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue