diff options
author | C. McEnroe | 2020-02-08 21:44:50 -0500 |
---|---|---|
committer | C. McEnroe | 2020-02-08 21:44:50 -0500 |
commit | 3e6868414811be8902e6973c78ef2010b26a9e08 (patch) | |
tree | df68dcfb29b6fb0c68b3d96a599a4051097f9fe9 /command.c | |
parent | 2db17e83a914586fd351437ac5323713f1e66478 (diff) |
Add /copy
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/command.c b/command.c index 4100928..feb52b7 100644 --- a/command.c +++ b/command.c @@ -154,11 +154,16 @@ static void commandOpen(size_t id, char *params) { } } +static void commandCopy(size_t id, char *params) { + urlCopyMatch(id, params); +} + static const struct Handler { const char *cmd; Command *fn; } Commands[] = { { "/close", commandClose }, + { "/copy", commandCopy }, { "/debug", commandDebug }, { "/join", commandJoin }, { "/me", commandMe }, |