mirror of
https://github.com/anope/anope.git
synced 2026-07-06 10:53:14 +02:00
Fix webpanel mode list to only show real list modes
This commit is contained in:
@@ -61,7 +61,7 @@ bool WebCPanel::ChanServ::Modes::OnRequest(HTTPProvider *server, const Anope::st
|
||||
{
|
||||
ChannelMode *cm = ModeManager::GetChannelModes()[i];
|
||||
|
||||
if (cm->type == MODE_LIST)
|
||||
if (cm->type == MODE_LIST && cm->mchar)
|
||||
replacements["LISTMODES"] = cm->mchar;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user