mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-22 23:16:22 +00:00
Actually open the URL
This commit is contained in:
@@ -2449,7 +2449,23 @@ static struct cmd_t command_defs[] =
|
||||
CMD_EXAMPLES(
|
||||
"/software valhalla.edda",
|
||||
"/software xmpp.vanaheimr.edda")
|
||||
}
|
||||
},
|
||||
|
||||
{ "/urlopen",
|
||||
parse_args, 1, -1, NULL,
|
||||
CMD_NOSUBFUNCS
|
||||
CMD_MAINFUNC(cmd_urlopen)
|
||||
CMD_TAGS(
|
||||
CMD_TAG_CHAT,
|
||||
CMD_TAG_GROUPCHAT)
|
||||
CMD_SYN(
|
||||
"/urlopen <url>")
|
||||
CMD_DESC(
|
||||
"Open the URL")
|
||||
CMD_ARGS(
|
||||
{ "<url>", "URL to open."})
|
||||
CMD_NOEXAMPLES
|
||||
},
|
||||
};
|
||||
|
||||
static GHashTable *search_index;
|
||||
|
||||
Reference in New Issue
Block a user