mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 00:22:17 +02:00
Automatic joining to channels didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@639 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
b4bdec4436
commit
03091413ee
2 changed files with 7 additions and 4 deletions
|
|
@ -38,9 +38,7 @@ static void event_connected(IRC_SERVER_REC *server)
|
|||
GString *chans;
|
||||
GSList *tmp;
|
||||
|
||||
g_return_if_fail(server != NULL);
|
||||
|
||||
if (server->connrec->reconnection)
|
||||
if (!IS_IRC_SERVER(server) || server->connrec->reconnection)
|
||||
return;
|
||||
|
||||
/* join to the channels marked with autojoin in setup */
|
||||
|
|
@ -71,7 +69,7 @@ static void channel_wholist(CHANNEL_REC *channel)
|
|||
NICK_REC *nick;
|
||||
char **bots, **bot;
|
||||
|
||||
g_return_if_fail(channel != NULL);
|
||||
g_return_if_fail(IS_CHANNEL(channel));
|
||||
|
||||
rec = channels_setup_find(channel->name, channel->server->connrec->chatnet);
|
||||
if (rec == NULL || rec->autosendcmd == NULL || !*rec->autosendcmd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue