aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_funcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 575ccaf3..e0747d40 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -2442,8 +2442,8 @@ cmd_roster(ProfWin* window, const char* const command, gchar** args)
cons_show("Roster resource char removed.");
rosterwin_roster();
} else {
- prefs_set_roster_resource_char(args[2][0]);
- cons_show("Roster resource char set to %c.", args[2][0]);
+ prefs_set_roster_resource_char(args[2]);
+ cons_show("Roster resource char set to %s.", args[2]);
rosterwin_roster();
}
} else if (g_strcmp0(args[1], "indent") == 0) {