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:12 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:12 +0000
commitf3e386b625ac025e76e3bbd339684f007788070c (patch)
tree5e0b87364058724ea74c74a186942a9a3dce1a1e /src/ircd.c
parenta587cdc9987b0b8f4c86caa70f1bca741a69145d (diff)
Added cmd_svsjoin() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1264 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r--src/ircd.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/ircd.c b/src/ircd.c
index de304e485..cceb57e14 100644
--- a/src/ircd.c
+++ b/src/ircd.c
@@ -63,7 +63,6 @@ void initIrcdProto()
ircdproto.ircd_cmd_242 = NULL;
ircdproto.ircd_cmd_243 = NULL;
ircdproto.ircd_cmd_211 = NULL;
- ircdproto.ircd_cmd_svsjoin = NULL;
ircdproto.ircd_cmd_svspart = NULL;
ircdproto.ircd_cmd_swhois = NULL;
ircdproto.ircd_cmd_eob = NULL;
@@ -544,7 +543,7 @@ void anope_cmd_svid_umode3(User *u, const char *ts)
void anope_cmd_svsjoin(const char *source, const char *nick, const char *chan, const char *param)
{
- ircdproto.ircd_cmd_svsjoin(source, nick, chan, param);
+ ircdprotonew->cmd_svsjoin(source, nick, chan, param);
}
void anope_cmd_svspart(const char *source, const char *nick, const char *chan)
@@ -691,13 +690,6 @@ void pmodule_cmd_211(void (*func) (const char *buf))
ircdproto.ircd_cmd_211 = func;
}
-void pmodule_cmd_svsjoin(void (*func)
- (const char *source, const char *nick, const char *chan,
- const char *param))
-{
- ircdproto.ircd_cmd_svsjoin = func;
-}
-
void
pmodule_cmd_svspart(void (*func) (const char *source, const char *nick, const char *chan))
{