mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-14 09:40:20 +00:00
Only replace variables in connect commands
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user