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