diff options
author | James Booth <boothj5@gmail.com> | 2014-02-16 02:22:29 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-02-16 02:22:29 +0000 |
commit | 7e956fb34740c691d2fc79faff864e2e9a445dab (patch) | |
tree | ca9a43829d1633fff6233f396ce0b18d1244f8a8 /src/command/commands.c | |
parent | c6220e01a0b51405130d9976d0331c2c99bdab4c (diff) | |
download | profani-tty-7e956fb34740c691d2fc79faff864e2e9a445dab.tar.gz |
Added tests for /otr warn
Diffstat (limited to 'src/command/commands.c')
-rw-r--r-- | src/command/commands.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 397c6a54..53a2b1a3 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -2595,8 +2595,7 @@ cmd_otr(gchar **args, struct cmd_help_t help) } else if (strcmp(args[0], "warn") == 0) { gboolean result = _cmd_set_boolean_preference(args[1], help, "OTR warning message", PREF_OTR_WARN); - // update the current window - ui_switch_win(wins_get_current_num()); + ui_current_refresh(); return result; } else if (strcmp(args[0], "libver") == 0) { char *version = otr_libotr_version(); |