Only replace variables in connect commands

This commit is contained in:
TingPing
2013-08-10 16:51:56 -04:00
parent 1c30e0c124
commit b2d2187b20
3 changed files with 10 additions and 11 deletions

View File

@@ -25,6 +25,7 @@ extern GSList *menu_list;
int auto_insert (char *dest, int destlen, unsigned char *src, char *word[], char *word_eol[],
char *a, char *c, char *d, char *e, char *h, char *n, char *s, char *u);
char *command_insert_vars (session *sess, char *cmd);
int handle_command (session *sess, char *cmd, int check_spch);
void process_data_init (char *buf, char *cmd, char *word[], char *word_eol[], gboolean handle_quotes, gboolean allow_escape_quotes);
void handle_multiline (session *sess, char *cmd, int history, int nocommand);