Fix prototype, return value is used by joindelay_tag
This commit is contained in:
parent
73badc67ff
commit
02298c8e76
|
@ -1066,7 +1066,7 @@ inbound_nameslist_end (server *serv, char *chan)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static gboolean
|
||||||
check_autojoin_channels (server *serv)
|
check_autojoin_channels (server *serv)
|
||||||
{
|
{
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
@ -1078,7 +1078,7 @@ check_autojoin_channels (server *serv)
|
||||||
/* shouldn't really happen, the io tag is destroyed in server.c */
|
/* shouldn't really happen, the io tag is destroyed in server.c */
|
||||||
if (!is_server (serv))
|
if (!is_server (serv))
|
||||||
{
|
{
|
||||||
return;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If there's a session (i.e. this is a reconnect), autojoin to everything that was open previously. */
|
/* If there's a session (i.e. this is a reconnect), autojoin to everything that was open previously. */
|
||||||
|
@ -1141,6 +1141,7 @@ check_autojoin_channels (server *serv)
|
||||||
|
|
||||||
serv->joindelay_tag = 0;
|
serv->joindelay_tag = 0;
|
||||||
fe_server_event (serv, FE_SE_LOGGEDIN, i);
|
fe_server_event (serv, FE_SE_LOGGEDIN, i);
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue