Remove /tiny command
boothj5 gave his okay too. Fix https://github.com/profanity-im/profanity/issues/1370
This commit is contained in:
@@ -64,7 +64,6 @@
|
||||
#include "plugins/plugins.h"
|
||||
#include "tools/autocomplete.h"
|
||||
#include "tools/parser.h"
|
||||
#include "tools/tinyurl.h"
|
||||
#include "ui/ui.h"
|
||||
#include "ui/window_list.h"
|
||||
#include "xmpp/xmpp.h"
|
||||
@@ -979,22 +978,6 @@ static struct cmd_t command_defs[] = {
|
||||
"/sub request",
|
||||
"/sub sent") },
|
||||
|
||||
{ "/tiny",
|
||||
parse_args, 1, 1, NULL,
|
||||
CMD_NOSUBFUNCS
|
||||
CMD_MAINFUNC(cmd_tiny)
|
||||
CMD_TAGS(
|
||||
CMD_TAG_CHAT,
|
||||
CMD_TAG_GROUPCHAT)
|
||||
CMD_SYN(
|
||||
"/tiny <url>")
|
||||
CMD_DESC(
|
||||
"Send url as tinyurl in current chat.")
|
||||
CMD_ARGS(
|
||||
{ "<url>", "The url to make tiny." })
|
||||
CMD_EXAMPLES(
|
||||
"Example: /tiny https://profanity-im.github.io/") },
|
||||
|
||||
{ "/who",
|
||||
parse_args, 0, 2, NULL,
|
||||
CMD_NOSUBFUNCS
|
||||
|
||||
Reference in New Issue
Block a user