diff options
Diffstat (limited to 'src/common/inbound.c')
-rw-r--r-- | src/common/inbound.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/inbound.c b/src/common/inbound.c index f57207d1..ec87820a 100644 --- a/src/common/inbound.c +++ b/src/common/inbound.c @@ -1450,7 +1450,10 @@ nowindow: static int inbound_exec_eom_cmd (char *str, void *sess) { - handle_command (sess, (str[0] == '/') ? str + 1 : str, TRUE); + char *cmd; + + cmd = command_insert_vars ((session*)sess, (str[0] == '/') ? str + 1 : str); + handle_command ((session*)sess, cmd, TRUE); return 1; } |