multiple fixes
[NeonServV5.git] / src / ChanNode.c
index 528d441d59c7c0cd97ea33e06024b1c341d7ed84..1431597a3c09be1198e27e5000652e6492c63544 100644 (file)
@@ -20,7 +20,6 @@
 #include "BanNode.h"
 #include "modcmd.h"
 #include "ModeNode.h"
-#include "bot_NeonSpam.h"
 #include "IRCEvents.h"
 
 static struct ChanNode **chanList;
@@ -231,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);
 }