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:10 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:10 +0000
commit60b293b58edab6e6701f5b4911293a762fbbcf52 (patch)
treeb271cba2a90259b6594cdc5a393246cced862a01 /src/ircd.c
parent859826d14b7710585ccad3ad9e65089fa71c61e9 (diff)
Added cmd_nick() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1216 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 f26795f3d..58184667b 100644
--- a/src/ircd.c
+++ b/src/ircd.c
@@ -50,7 +50,6 @@ void initIrcdProto()
ircdproto.ircd_cmd_372_error = NULL;
ircdproto.ircd_cmd_375 = NULL;
ircdproto.ircd_cmd_376 = NULL;
- ircdproto.ircd_cmd_nick = NULL;
ircdproto.ircd_cmd_guest_nick = NULL;
ircdproto.ircd_cmd_mode = NULL;
ircdproto.ircd_cmd_bot_nick = NULL;
@@ -192,7 +191,7 @@ void anope_cmd_376(const char *source)
void anope_cmd_nick(const char *nick, const char *name, const char *modes)
{
- ircdproto.ircd_cmd_nick(nick, name, modes);
+ ircdprotonew->cmd_nick(nick, name, modes);
}
void anope_cmd_guest_nick(const char *nick, const char *user, const char *host, const char *real, const char *modes)
@@ -702,11 +701,6 @@ void pmodule_cmd_376(void (*func) (const char *source))
ircdproto.ircd_cmd_376 = func;
}
-void pmodule_cmd_nick(void (*func) (const char *nick, const char *name, const char *modes))
-{
- ircdproto.ircd_cmd_nick = func;
-}
-
void pmodule_cmd_guest_nick(void (*func)
(const char *nick, const char *user, const char *host,
const char *real, const char *modes))