mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
/WINDOW SERVER -unsticky crashed irssi if it was used when you weren't connected to server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1939 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
59e310c723
commit
4f58b17ecb
@ -36,7 +36,7 @@ FORMAT_REC fecommon_core_formats[] = {
|
||||
{ "refnum_too_low", "Window number must be greater than 1", 0 },
|
||||
{ "error_server_sticky", "Window's server is sticky and it cannot be changed without -unsticky option", 0 },
|
||||
{ "set_server_sticky", "Window's server set sticky", 1, { 0 } },
|
||||
{ "unset_server_sticky", "Window's server isn't sticky anymore", 1, { 0 } },
|
||||
{ "unset_server_sticky", "Window's server isn't sticky anymore", 0 },
|
||||
{ "window_level", "Window level is now $0", 1, { 0 } },
|
||||
{ "windowlist_header", "Ref Name Active item Server Level", 0 },
|
||||
{ "windowlist_line", "$[3]0 %|$[20]1 $[15]2 $[15]3 $4", 5, { 1, 0, 0, 0, 0 } },
|
||||
|
@ -349,7 +349,7 @@ static void cmd_window_server(const char *data)
|
||||
active_win->servertag != NULL) {
|
||||
g_free_and_null(active_win->servertag);
|
||||
printformat_window(active_win, MSGLEVEL_CLIENTNOTICE,
|
||||
TXT_UNSET_SERVER_STICKY, server->tag);
|
||||
TXT_UNSET_SERVER_STICKY);
|
||||
}
|
||||
|
||||
if (active_win->servertag != NULL &&
|
||||
|
Loading…
Reference in New Issue
Block a user