From c0ca1087ab55d9b9de048799f68829033582f126 Mon Sep 17 00:00:00 2001 From: pk910 Date: Sat, 13 Aug 2011 00:39:28 +0200 Subject: [PATCH] fixed last commit #3 --- ChanNode.c | 1 + ClientSocket.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ChanNode.c b/ChanNode.c index 5f76976..b8ff9f8 100644 --- a/ChanNode.c +++ b/ChanNode.c @@ -143,6 +143,7 @@ struct ChanNode* addChannel(const char *name) { chan->flags = 0; /* mode lists */ chan->modes = 0; + chan->trigger = NULL; chan->mode_str_args = calloc(modes_with_strarg, sizeof(char*)); chan->mode_int_args = calloc(modes_with_intarg, sizeof(int)); diff --git a/ClientSocket.c b/ClientSocket.c index 0192b08..fb23f37 100644 --- a/ClientSocket.c +++ b/ClientSocket.c @@ -38,7 +38,6 @@ struct ClientSocket* create_socket(char *host, int port, char *pass, struct User client->flags = 0; client->bufferpos = 0; client->botid = 0; - client->trigger = NULL; client->next = sockets->data; sockets->data = client; return client; -- 2.20.1