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
commite8cd183ed36a5014ddbd1a44dde8e311bb44f35a (patch)
tree288cde706a8fc700d971a095a66687dcd2aea11c /src/ircd.c
parent8060c79a5f13dae4607475d159319afe5e241dcc (diff)
Added cmd_svso() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1245 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r--src/ircd.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ircd.c b/src/ircd.c
index a6c689e14..a65a99031 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_svso = NULL;
ircdproto.ircd_cmd_chg_nick = NULL;
ircdproto.ircd_cmd_svsnick = NULL;
ircdproto.ircd_cmd_vhost_on = NULL;
@@ -477,7 +476,7 @@ void anope_cmd_squit(const char *servname, const char *message)
void anope_cmd_svso(const char *source, const char *nick, const char *flag)
{
- ircdproto.ircd_cmd_svso(source, nick, flag);
+ ircdprotonew->cmd_svso(source, nick, flag);
}
void anope_cmd_chg_nick(const char *oldnick, const char *newnick)
@@ -710,11 +709,6 @@ void pmodule_cmd_211(void (*func) (const char *buf))
ircdproto.ircd_cmd_211 = func;
}
-void pmodule_cmd_svso(void (*func) (const char *source, const char *nick, const char *flag))
-{
- ircdproto.ircd_cmd_svso = func;
-}
-
void pmodule_cmd_chg_nick(void (*func) (const char *oldnick, const char *newnick))
{
ircdproto.ircd_cmd_chg_nick = func;