added possibility to change default trigger (even for registered channels)
[NeonServV5.git] / src / modcmd.h
index 8ced9459e580ef68f4779590f75f0d36a568a0c0..2be6f3d5e42a6d9ff80e3d27625228b9e858e916 100644 (file)
@@ -91,6 +91,8 @@ struct ClientSocket* get_botwise_prefered_bot(int botid, int clientid);
 int register_command(int botid, char *name, cmd_bind_t *func, int paramcount, char *channel_access, int global_access, unsigned int flags);
 int set_trigger_callback(int botid, trigger_callback_t *func);
 
+int flush_trigger_cache(int botid, int clientid);
+
 #define changeChannelTrigger(BOTID,CHAN,NEW) changeBotwiseChannelTrigger(BOTID, 0, CHAN, NEW)
 int changeBotwiseChannelTrigger(int botid, int clientid, struct ChanNode *chan, char *new_trigger);