From 8d3d1775aeec744d54b3acfacc01cc70eadb44be Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Tue, 30 Sep 2008 18:45:09 +0000 Subject: Core skeleton of IRCDProtoNew class created. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1195 5417fbe8-f217-4b02-8779-1006273d7864 --- src/protocol/inspircd10.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/protocol/inspircd10.c') diff --git a/src/protocol/inspircd10.c b/src/protocol/inspircd10.c index 30ced466d..030cd6207 100644 --- a/src/protocol/inspircd10.c +++ b/src/protocol/inspircd10.c @@ -7,8 +7,8 @@ * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * + * Based on the original code of Services by Andy Church. + * * */ @@ -1154,12 +1154,12 @@ int anope_event_topic(char *source, int ac, char **av) c->topic_time = topic_time; record_topic(av[0]); - + if (ac > 1 && *av[1]) send_event(EVENT_TOPIC_UPDATED, 2, av[0], av[1]); else send_event(EVENT_TOPIC_UPDATED, 2, av[0], ""); - + return MOD_CONT; } @@ -1675,7 +1675,7 @@ void moduleAddAnopeCmds() pmodule_set_umode(inspircd_set_umode); } -/** +/** * Now tell anope how to use us. **/ int AnopeInit(int argc, char **argv) @@ -1707,6 +1707,7 @@ int AnopeInit(int argc, char **argv) pmodule_limit_mode(CMODE_l); moduleAddAnopeCmds(); + pmodule_ircd_proto(&ircd_proto); moduleAddIRCDMsgs(); return MOD_CONT; -- cgit