summaryrefslogtreecommitdiff
path: root/src/ircd.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:11 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:11 +0000
commit6ae0b4e597e18857b2f96de49c947e47f101d80b (patch)
treefa5fe49a2ee9d5665dcfec479be2cd4f750b0889 /src/ircd.c
parent0e794a9e50cdf3b38a6c21936cc331bc7a50518c (diff)
Added cmd_join() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1238 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r--src/ircd.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/ircd.c b/src/ircd.c
index d1682f029..a33dea4e7 100644
--- a/src/ircd.c
+++ b/src/ircd.c
@@ -51,7 +51,6 @@ void initIrcdProto()
ircdproto.ircd_cmd_375 = NULL;
ircdproto.ircd_cmd_376 = NULL;
ircdproto.ircd_cmd_351 = NULL;
- ircdproto.ircd_cmd_join = NULL;
ircdproto.ircd_cmd_unsqline = NULL;
ircdproto.ircd_cmd_invite = NULL;
ircdproto.ircd_cmd_part = NULL;
@@ -310,7 +309,7 @@ void anope_cmd_pong(const char *servname, const char *who)
void anope_cmd_join(const char *user, const char *channel, time_t chantime)
{
- ircdproto.ircd_cmd_join(user, channel, chantime);
+ ircdprotonew->cmd_join(user, channel, chantime);
}
void anope_cmd_unsqline(const char *user)
@@ -660,12 +659,6 @@ void pmodule_cmd_351(void (*func) (const char *source))
ircdproto.ircd_cmd_351 = func;
}
-void
-pmodule_cmd_join(void (*func) (const char *user, const char *channel, time_t chantime))
-{
- ircdproto.ircd_cmd_join = func;
-}
-
void pmodule_cmd_unsqline(void (*func) (const char *user))
{
ircdproto.ircd_cmd_unsqline = func;