diff options
author | Michael Vetter <jubalh@iodoru.org> | 2023-05-11 08:43:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-11 08:43:37 +0200 |
commit | 209a8f4bf5b2db2ca54f727d29e625228bccd170 (patch) | |
tree | ba025b33fa7607b001b29c7269fb39babc6d81f0 /src/command | |
parent | 5bf178818abbeb70496157b8125cbacd590ef9e5 (diff) | |
parent | 8d3c1f79ac7cc2b0830f0afed48dc1fb9008ab0e (diff) | |
download | profani-tty-209a8f4bf5b2db2ca54f727d29e625228bccd170.tar.gz |
Merge pull request #1847 from profanity-im/minor-improvements
Minor improvements
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/cmd_funcs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index ccba8827..bb6cc49d 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -6575,7 +6575,8 @@ cmd_reconnect(ProfWin* window, const char* const command, gchar** args) int intval = 0; char* err_msg = NULL; if (g_strcmp0(value, "now") == 0) { - session_reconnect_now(); + cons_show("Reconnecting now."); + cl_ev_reconnect(); } else if (strtoi_range(value, &intval, 0, INT_MAX, &err_msg)) { prefs_set_reconnect(intval); if (intval == 0) { |