added automatic unregistration of unvisited channel
[NeonServV5.git] / src / modules / NeonSpam.mod / bot_NeonSpam.c
index 89aeb92be68236a07f30438667c517c56e4855ba..5ccfbc2d82138e4028cd5beb6b6da11b12737745 100644 (file)
@@ -15,6 +15,7 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>. 
  */
 #include "../module.h"
+#include "../botid.h"
 
 #include "bot_NeonSpam.h"
 #include "../../modcmd.h"
@@ -38,7 +39,7 @@
 #include "../../bots.h"
 #include "cmd_neonspam.h"
 
-#define BOTID 2
+#define BOTID NEONSPAM_BOTID
 #define BOTALIAS "NeonSpam"
 
 static const struct default_language_entry msgtab[] = {