0
0
Fork 0
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:
William Pitcock 2012-04-02 14:07:25 -05:00
parent b8c16fdaba
commit b181432121

View file

@ -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;