projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3ad4e1
)
initialize chan->modes on create
author
pk910
<philipp@zoelle1.de>
Fri, 12 Aug 2011 04:27:33 +0000
(06:27 +0200)
committer
pk910
<philipp@zoelle1.de>
Fri, 12 Aug 2011 04:27:33 +0000
(06:27 +0200)
ChanNode.c
patch
|
blob
|
history
diff --git
a/ChanNode.c
b/ChanNode.c
index 7b3f1c3d71e80891cec53fd67ae96d30f25ded6e..93f4266c4e754e68ad6f60ceb9aed0a8002d7ecb 100644
(file)
--- a/
ChanNode.c
+++ b/
ChanNode.c
@@
-141,6
+141,7
@@
struct ChanNode* addChannel(const char *name) {
chan->topic[0] = 0;
chan->flags = 0;
/* mode lists */
+ chan->modes = 0;
chan->mode_str_args = calloc(modes_with_strarg, sizeof(char*));
chan->mode_int_args = calloc(modes_with_intarg, sizeof(int));