summaryrefslogtreecommitdiff
path: root/src/ircd.c
diff options
context:
space:
mode:
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 be80b742f..771c9a194 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_bot_nick = NULL;
ircdproto.ircd_cmd_kick = NULL;
ircdproto.ircd_cmd_notice_ops = NULL;
ircdproto.ircd_cmd_notice = NULL;
@@ -211,7 +210,7 @@ void anope_cmd_mode(const char *source, const char *dest, const char *fmt, ...)
void anope_cmd_bot_nick(const char *nick, const char *user, const char *host, const char *real, const char *modes)
{
- ircdproto.ircd_cmd_bot_nick(nick, user, host, real, modes);
+ ircdprotonew->cmd_bot_nick(nick, user, host, real, modes);
}
void anope_cmd_kick(const char *source, const char *chan, const char *user, const char *fmt, ...)
@@ -698,13 +697,6 @@ void pmodule_cmd_376(void (*func) (const char *source))
ircdproto.ircd_cmd_376 = func;
}
-void pmodule_cmd_bot_nick(void (*func)
- (const char *nick, const char *user, const char *host, const char *real,
- const char *modes))
-{
- ircdproto.ircd_cmd_bot_nick = func;
-}
-
void pmodule_cmd_kick(void (*func)
(const char *source, const char *chan, const char *user, const char *buf))
{