added free functions to free everything (maybe a restart function later?)
[NeonServV5.git] / modcmd.h
index 673f74c92716c9c1c1b2a3509b67539d843da911..c880b5848fdef6285e3d83020c6295814acf0971 100644 (file)
--- a/modcmd.h
+++ b/modcmd.h
@@ -33,7 +33,8 @@ struct trigger_cache {
 };
 
 void init_modcmd();
-struct* ClientSocket get_prefered_bot(int botid);
+void free_modcmd();
+struct ClientSocket* get_prefered_bot(int botid);
 int register_command(int botid, char *name, cmd_bind_t *func);
 int set_trigger_callback(int botid, trigger_callback_t *func);
 int changeChannelTrigger(int botid, struct ChanNode *chan, char *new_trigger);