mirror of
https://github.com/anope/anope.git
synced 2026-07-01 20:26:39 +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);
|
auto *cm = ModeManager::FindChannelModeByName(ml->name);
|
||||||
if (cm && cm->type != MODE_LIST && cm->type != MODE_STATUS)
|
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();
|
return formatter.ToString();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user