[Commands] Add #show keyring Subcommand (#4973)

This commit is contained in:
Alex King
2025-08-02 20:15:44 -04:00
committed by GitHub
parent ffa813b92c
commit e9be2d76c3
9 changed files with 49 additions and 8 deletions
+12
View File
@@ -0,0 +1,12 @@
#include "../../client.h"
#include "../../dialogue_window.h"
void ShowKeyring(Client *c, const Seperator *sep)
{
Client* t = c;
if (c->GetTarget() && c->GetTarget()->IsClient()) {
t = c->GetTarget()->CastToClient();
}
t->KeyRingList(c);
}