diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-06-03 20:44:01 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-06-03 20:44:01 +0000 |
commit | ca25d6e252a652714957eff7bfd672fedad652e4 (patch) | |
tree | 19fbaa26f130f67ba83f7e6feb3a6979f0b63f93 /include | |
parent | e0cba0bb71611f82434b7f061760d105423bbe09 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/extern.h | 1 | ||||
-rw-r--r-- | include/services.h | 1 |
2 files changed, 2 insertions, 0 deletions
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); |