From ca25d6e252a652714957eff7bfd672fedad652e4 Mon Sep 17 00:00:00 2001 From: "geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Fri, 3 Jun 2005 20:44:01 +0000 Subject: BUILD : 1.7.10 (824) BUGS : 389 NOTES : Added the possibility for protocol files to override the code setting mod_current_buffer, which is needed for InspIRCd git-svn-id: svn://svn.anope.org/anope/trunk@824 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@577 5417fbe8-f217-4b02-8779-1006273d7864 --- include/extern.h | 1 + include/services.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/extern.h b/include/extern.h index 63ad4cb9b..433d6bb96 100644 --- a/include/extern.h +++ b/include/extern.h @@ -583,6 +583,7 @@ E int init(int ac, char **av); E int servernum; /**** ircd.c ****/ +E void pmodule_set_mod_current_buffer(void (*func) (int ac, char **av)); E void pmodule_cmd_svsnoop(void (*func) (char *server, int set)); E void pmodule_cmd_remove_akill(void (*func) (char *user, char *host)); E void pmodule_cmd_topic(void (*func) (char *whosets, char *chan, char *whosetit, char *topic, time_t when)); diff --git a/include/services.h b/include/services.h index e3c350217..e0017256e 100644 --- a/include/services.h +++ b/include/services.h @@ -1093,6 +1093,7 @@ struct session_ { * functions, we then call the correct function for the anope_ commands. **/ typedef struct ircd_proto_ { + void (*ircd_set_mod_current_buffer)(int ac, char **av); void (*ircd_cmd_svsnoop)(char *server, int set); void (*ircd_cmd_remove_akill)(char *user, char *host); void (*ircd_cmd_topic)(char *whosets, char *chan, char *whosetit, char *topic, time_t when); -- cgit