diff --git a/src/command/commands.c b/src/command/commands.c index 093bc43d..fe93b069 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -102,7 +102,7 @@ cmd_execute_default(ProfWin *window, const char *inp) } // handle non commands in non chat or plugin windows - if (window->type != WIN_CHAT && window->type != WIN_MUC && window->type != WIN_PRIVATE && window->type != WIN_PLUGIN) { + if (window->type != WIN_CHAT && window->type != WIN_MUC && window->type != WIN_PRIVATE && window->type != WIN_PLUGIN && window->type != WIN_XML) { cons_show("Unknown command: %s", inp); return TRUE; } @@ -142,6 +142,11 @@ cmd_execute_default(ProfWin *window, const char *inp) cl_ev_send_muc_msg(mucwin, inp); break; } + case WIN_XML: + { + jabber_send_stanza(inp); + break; + } default: break; }