diff --git a/modules/chanserv/cs_mode.cpp b/modules/chanserv/cs_mode.cpp index 332d37d07..d31f03a00 100644 --- a/modules/chanserv/cs_mode.cpp +++ b/modules/chanserv/cs_mode.cpp @@ -172,6 +172,9 @@ struct ModeLocksImpl final { if (m->name == mode->name) { + if (m->set != status) + continue; + // For list or status modes, we must check the parameter if (mode->type == MODE_LIST || mode->type == MODE_STATUS) if (m->param != param)