diff options
Diffstat (limited to 'src/command/commands.c')
-rw-r--r-- | src/command/commands.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 857427c6..d18f747c 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -1803,6 +1803,8 @@ cmd_room(gchar **args, struct cmd_help_t help) } else if (g_strcmp0(args[1], "cancel") == 0) { // check that we're in room, we're owner and room requires configuration + char *room = ui_current_recipient(); + iq_destroy_instant_room(room); } else { cons_show("Usage: %s", help.usage); |