diff options
Diffstat (limited to 'config_servers.h')
-rw-r--r-- | config_servers.h | 36 |
1 files changed, 25 insertions, 11 deletions
diff --git a/config_servers.h b/config_servers.h index 8836db1..30a1105 100644 --- a/config_servers.h +++ b/config_servers.h @@ -10,29 +10,43 @@ typedef struct irc_server_conf char *user; char *password; char *server; - char **channels; char *port; int ssl; + char *channels[16]; } irc_server_conf; static irc_server_conf server_list[] = { + /* { - .user = "cbot_git2", + .user = "cbot_git2",#meeseekeria .password = "asdsada", .server = "irc.freenode.net", - .channels = {"#mainlv",NULL}, + .channels = {"#mainlv","#developerslv","#meeseekeria",NULL}, .port = "6667", .ssl = 0, - }/*, + }, + */ + /* { - .user = "agni", - .password = NULL, - .server = "irc.hacking.allowed.org", - .channels = {"#default","#bot",NULL}, - .port = 6697, - .ssl = 1, - }*/ + .user = "cbot_git", + .password = "asdaasda", + .server = "localhost", + .channels = {"#default","#bots",NULL}, + .port = "9000", + //.port = "6667", + .ssl = 0 + }, + */ + + { + .user = "cbot_git", + .password = "asdaasda", + .server = "localhost", + .channels = {"#default","#bots",NULL}, + .port = "6667", + .ssl = 0 + } }; #define SIZEOF_SERVER_LIST (sizeof(server_list)/sizeof(irc_server_conf)) |