about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 2b8a0d2c..65759c0a 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -2080,7 +2080,10 @@ cmd_room(gchar **args, struct cmd_help_t help)
     if (g_strcmp0(args[0], "info") == 0) {
         char *role = muc_role_str(room);
         char *affiliation = muc_affiliation_str(room);
-        ui_current_print_line("Affiliation: %s, Role: %s", affiliation, role);
+        win_save_print(window, '-', NULL, 0, 0, "", "");
+        win_save_vprint(window, '!', NULL, 0, 0, "", "Affiliation: %s", affiliation);
+        win_save_vprint(window, '!', NULL, 0, 0, "", "Role: %s", role);
+        win_save_print(window, '-', NULL, 0, 0, "", "");
         return TRUE;
     }