fixed debug/log output of sent data
[NeonServV5.git] / src / ChanNode.c
index 977b9b4c985eb8d9270e0f788607882a9db81d3a..1431597a3c09be1198e27e5000652e6492c63544 100644 (file)
 #include "BanNode.h"
 #include "modcmd.h"
 #include "ModeNode.h"
-#include "bot_NeonSpam.h"
 #include "IRCEvents.h"
 
 static struct ChanNode **chanList;
-#ifdef HAVE_THREADS
-pthread_mutex_t cache_sync;
-#endif
 
 void init_ChanNode() {
-    THREAD_MUTEX_INIT(cache_sync);
     /*
      len pos chars 
      26  0   a-z
@@ -235,8 +230,6 @@ void freeChanNode(struct ChanNode* chan) {
     freeModeNode(chan->modes);
     if(chan->bans)
         removeChannelBans(chan);
-    if(chan->spam_settings)
-        freeNeonSpamSettings(chan->spam_settings);
     free(chan);
 }