mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +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
|
|
@ -26,7 +26,7 @@
|
|||
#include "lib-config/iconfig.h"
|
||||
#include "settings.h"
|
||||
|
||||
#include "server-setup.h"
|
||||
#include "servers-setup.h"
|
||||
|
||||
#include "themes.h"
|
||||
#include "completion.h"
|
||||
|
|
@ -181,12 +181,12 @@ void fe_common_irc_finish_init(void)
|
|||
/* connect to autoconnect servers */
|
||||
ircnets = NULL;
|
||||
for (tmp = setupservers; tmp != NULL; tmp = tmp->next) {
|
||||
SETUP_SERVER_REC *rec = tmp->data;
|
||||
SERVER_SETUP_REC *rec = tmp->data;
|
||||
|
||||
if (rec->autoconnect && (rec->ircnet == NULL || *rec->ircnet == '\0' ||
|
||||
gslist_find_icase_string(ircnets, rec->ircnet) == NULL)) {
|
||||
if (rec->ircnet != NULL && *rec->ircnet != '\0')
|
||||
ircnets = g_slist_append(ircnets, rec->ircnet);
|
||||
if (rec->autoconnect && (rec->chatnet == NULL || *rec->chatnet == '\0' ||
|
||||
gslist_find_icase_string(ircnets, rec->chatnet) == NULL)) {
|
||||
if (rec->chatnet != NULL && *rec->chatnet != '\0')
|
||||
ircnets = g_slist_append(ircnets, rec->chatnet);
|
||||
|
||||
str = g_strdup_printf("%s %d", rec->address, rec->port);
|
||||
signal_emit("command connect", 1, str);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue