mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
Lots of moving stuff around - hopefully I didn't break too much :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
3d124da13b
commit
e395e87ded
160 changed files with 3954 additions and 2959 deletions
|
|
@ -21,9 +21,9 @@
|
|||
#include "module.h"
|
||||
#include "signals.h"
|
||||
|
||||
#include "irc-server.h"
|
||||
#include "irc-servers.h"
|
||||
#include "server-idle.h"
|
||||
#include "server-redirect.h"
|
||||
#include "servers-redirect.h"
|
||||
#include "irc.h"
|
||||
|
||||
typedef struct {
|
||||
|
|
@ -217,7 +217,7 @@ static void sig_disconnected(IRC_SERVER_REC *server)
|
|||
{
|
||||
g_return_if_fail(server != NULL);
|
||||
|
||||
if (!irc_server_check(server))
|
||||
if (!IS_IRC_SERVER(server))
|
||||
return;
|
||||
|
||||
while (server->idles != NULL)
|
||||
|
|
@ -232,7 +232,7 @@ static int sig_idle_timeout(void)
|
|||
for (tmp = servers; tmp != NULL; tmp = tmp->next) {
|
||||
IRC_SERVER_REC *rec = tmp->data;
|
||||
|
||||
if (irc_server_check(rec) &&
|
||||
if (IS_IRC_SERVER(rec) &&
|
||||
rec->idles != NULL && rec->cmdcount == 0) {
|
||||
/* We're idling and we have idle commands to run! */
|
||||
server_idle_next(rec);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue