about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2023-05-09 19:31:35 +0200
committerMichael Vetter <jubalh@iodoru.org>2023-05-10 09:21:32 +0200
commitdaf3d193e226648a2b3f0021731ec006956727e5 (patch)
tree342aec82ff0f57a2c5f91d7bc329b4ef14fe66d4
parentecdeb750f3353142e1d135226e81cba7f08cacd8 (diff)
downloadprofani-tty-daf3d193e226648a2b3f0021731ec006956727e5.tar.gz
Remove parsing of /avatar cmd
This is done in `/executable avatar set` since d7848e38b.
The command help also didn't mention this anymore.
Seems like it was forgotten to remove the actual parsing of this.
-rw-r--r--src/command/cmd_funcs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 6e9ca259..b0e287f2 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -9309,9 +9309,6 @@ cmd_avatar(ProfWin* window, const char* const command, gchar** args)
             avatar_get_by_nick(args[1], false);
         } else if (g_strcmp0(args[0], "open") == 0) {
             avatar_get_by_nick(args[1], true);
-        } else if (g_strcmp0(args[0], "cmd") == 0) {
-            prefs_set_string(PREF_AVATAR_CMD, args[1]);
-            cons_show("Avatar cmd set to: %s", args[1]);
         } else {
             cons_bad_cmd_usage(command);
         }