[Commands] Add #show keyring Subcommand

This commit is contained in:
Kinglykrab
2025-07-27 22:30:16 -04:00
parent b8884d6572
commit 8687588afb
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);
}