diff options
author | Timo Sirainen <cras@irssi.org> | 2000-09-06 21:30:56 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-09-06 21:30:56 +0000 |
commit | 2d1ac3059a0d9df1ef2420080d642d04fac8934d (patch) | |
tree | 5c66799e1d332349b978970c419e570b07d45e40 /src/fe-text/statusbar-items.c | |
parent | 008ec45db2af71143951785285d7127ccf94f241 (diff) | |
download | irssi-2d1ac3059a0d9df1ef2420080d642d04fac8934d.zip |
/set autocreate_query -> /set autocreate_query_level
fixes to /ircnet, /server and /channel commands
other updates and fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@649 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/statusbar-items.c')
-rw-r--r-- | src/fe-text/statusbar-items.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-text/statusbar-items.c b/src/fe-text/statusbar-items.c index ea7c8ed5..cb07c7e6 100644 --- a/src/fe-text/statusbar-items.c +++ b/src/fe-text/statusbar-items.c @@ -515,7 +515,7 @@ static void sig_statusbar_more_check(WINDOW_REC *window) static void statusbar_lag(SBAR_ITEM_REC *item, int ypos) { - IRC_SERVER_REC *server; + SERVER_REC *server; GString *str; int size_needed, lag_unknown; time_t now; @@ -523,7 +523,7 @@ static void statusbar_lag(SBAR_ITEM_REC *item, int ypos) now = time(NULL); str = g_string_new(NULL); - server = IRC_SERVER(active_win == NULL ? NULL : active_win->active_server); + server = active_win == NULL ? NULL : active_win->active_server; if (server == NULL || server->lag_last_check == 0) size_needed = 0; else if (server->lag_sent == 0 || now-server->lag_sent < 5) { |