-/* ChanNode.c - NeonServ v5.3
+/* ChanNode.c - NeonServ v5.4
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
#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
freeModeNode(chan->modes);
if(chan->bans)
removeChannelBans(chan);
- if(chan->spam_settings)
- freeNeonSpamSettings(chan->spam_settings);
free(chan);
}