aboutsummaryrefslogtreecommitdiffstats
path: root/config_servers.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-02-25 14:00:08 +0000
committerFreeArtMan <dos21h@gmail.com>2017-02-25 14:00:08 +0000
commit913db4648dabfce65e58a128a35c356ac0042ae9 (patch)
tree3ab20d68273d9866ef13a521fc857c4a3f577b0a /config_servers.h
parentfbf4aa43078f95d4ed3de0c9e897711bebf90eac (diff)
downloadagni-913db4648dabfce65e58a128a35c356ac0042ae9.tar.gz
agni-913db4648dabfce65e58a128a35c356ac0042ae9.zip
joined up socket connection code to main server thread. hardcoded echo/replay command is working
Diffstat (limited to 'config_servers.h')
-rw-r--r--config_servers.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/config_servers.h b/config_servers.h
index 9bf4b9e..5bd315e 100644
--- a/config_servers.h
+++ b/config_servers.h
@@ -11,18 +11,18 @@ typedef struct irc_server_conf
char *password;
char *server;
char **channels;
- int port;
+ char *port;
int ssl;
} irc_server_conf;
static irc_server_conf server_list[] =
{
{
- .user = "agni",
- .password = NULL,
+ .user = "cbot_git",
+ .password = "asdsada",
.server = "irc.freenode.net",
.channels = {"#mainlv",NULL},
- .port = 6667,
+ .port = "6667",
.ssl = 0,
}/*,
{