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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user