fixed last commit #3
[NeonServV5.git] / ChanNode.c
index 5f769761d519695362fe365d30401cb146bb7f71..b8ff9f8e223ad59675a29adbaa0580678e87af05 100644 (file)
@@ -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));