1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 06:03:14 +02:00

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
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-06-03 20:44:01 +00:00
parent e0cba0bb71
commit ca25d6e252
7 changed files with 45 additions and 8 deletions
+1
View File
@@ -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));
+1
View File
@@ -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);