projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1707a3b
)
fixed last commit #3
author
pk910
<philipp@zoelle1.de>
Fri, 12 Aug 2011 22:39:28 +0000
(
00:39
+0200)
committer
pk910
<philipp@zoelle1.de>
Fri, 12 Aug 2011 22:39:28 +0000
(
00:39
+0200)
ChanNode.c
patch
|
blob
|
history
ClientSocket.c
patch
|
blob
|
history
diff --git
a/ChanNode.c
b/ChanNode.c
index 5f769761d519695362fe365d30401cb146bb7f71..b8ff9f8e223ad59675a29adbaa0580678e87af05 100644
(file)
--- 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 0192b084fb97904eba1ce1462f5fe21ba97b3464..fb23f37cac709523cc35d5b887f21c10d9ccf530 100644
(file)
--- 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;