summaryrefslogtreecommitdiff
path: root/src/fe-common/core
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-29 16:15:47 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-29 16:15:47 +0000
commit4f58b17ecb61ff2a05346c1a43ed63a5aa0b60db (patch)
treea9b68019044659e7695cb2968313ce91f1ea7526 /src/fe-common/core
parent59e310c72336c5bc9a9f06535a48fea6e2a17318 (diff)
downloadirssi-4f58b17ecb61ff2a05346c1a43ed63a5aa0b60db.zip
/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
Diffstat (limited to 'src/fe-common/core')
-rw-r--r--src/fe-common/core/module-formats.c2
-rw-r--r--src/fe-common/core/window-commands.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/module-formats.c b/src/fe-common/core/module-formats.c
index 8049df02..9ddd9fbe 100644
--- a/src/fe-common/core/module-formats.c
+++ b/src/fe-common/core/module-formats.c
@@ -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 } },
diff --git a/src/fe-common/core/window-commands.c b/src/fe-common/core/window-commands.c
index fe5fefc6..8ba83ea4 100644
--- a/src/fe-common/core/window-commands.c
+++ b/src/fe-common/core/window-commands.c
@@ -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 &&