mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
/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
This commit is contained in:
parent
008ec45db2
commit
2d1ac3059a
24 changed files with 347 additions and 272 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue