1
0
mirror of https://github.com/anope/anope.git synced 2026-06-18 01:04:46 +02:00

Fix getting the brief mode lock string.

This commit is contained in:
Sadie Powell
2025-11-12 21:33:32 +00:00
parent 213f3dd41b
commit 989a2da73a
+1 -1
View File
@@ -223,7 +223,7 @@ struct ModeLocksImpl final
{
auto *cm = ModeManager::FindChannelModeByName(ml->name);
if (cm && cm->type != MODE_LIST && cm->type != MODE_STATUS)
formatter.Push(cm, ml->param, ml->set);
formatter.Push(cm, complete ? ml->param : Anope::string(), ml->set);
}
return formatter.ToString();
}