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
commit173d5b4c116f4c0a4d9da0568f8d084eb06be36d (patch)
treef67824aca908eb8e414dab9720d6b440d283940b /src/ircd.c
parent85e8e9eca082a49dfbd10ba3b2d8b24ba148cdd1 (diff)
Added cmd_svid_umode3() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1261 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r--src/ircd.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ircd.c b/src/ircd.c
index 2ecf0f3f0..52893c8f6 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_svid_umode3 = NULL;
ircdproto.ircd_cmd_svsjoin = NULL;
ircdproto.ircd_cmd_svspart = NULL;
ircdproto.ircd_cmd_swhois = NULL;
@@ -539,9 +538,9 @@ void anope_cmd_svid_umode2(User *u, const char *ts)
ircdprotonew->cmd_svid_umode2(u, ts);
}
-void anope_cmd_svid_umode3(User * u, const char *ts)
+void anope_cmd_svid_umode3(User *u, const char *ts)
{
- ircdproto.ircd_cmd_svid_umode3(u, ts);
+ ircdprotonew->cmd_svid_umode3(u, ts);
}
void anope_cmd_svsjoin(const char *source, const char *nick, const char *chan, const char *param)
@@ -694,11 +693,6 @@ void pmodule_cmd_211(void (*func) (const char *buf))
ircdproto.ircd_cmd_211 = func;
}
-void pmodule_cmd_svid_umode3(void (*func) (User * u, const char *ts))
-{
- ircdproto.ircd_cmd_svid_umode3 = func;
-}
-
void pmodule_cmd_ctcp(void (*func) (const char *source, const char *dest, const char *buf))
{
ircdproto.ircd_cmd_ctcp = func;