Added tests for /otr warn

This commit is contained in:
James Booth
2014-02-16 02:22:29 +00:00
parent c6220e01a0
commit 7e956fb347
8 changed files with 104 additions and 2 deletions

View File

@@ -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();