From daf3d193e226648a2b3f0021731ec006956727e5 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Tue, 9 May 2023 19:31:35 +0200 Subject: 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. --- src/command/cmd_funcs.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/command/cmd_funcs.c') 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); } -- cgit 1.4.1-2-gfad0