1
0
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:
Adam
2014-05-13 22:59:41 -04:00
parent 63b02b8c97
commit 1931fcf0e5
+1 -1
View File
@@ -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;
}