diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
commit | d3a79969c2bced3f53ff440c40582a858632f900 (patch) | |
tree | eb3bcd8144cd376bcbb410da756be8debda900b0 /src/ircd.c | |
parent | 00466f884cca8975972d0802999288da2c0b9fdf (diff) |
Added cmd_bot_nick() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1219 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r-- | src/ircd.c | 10 |
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)) { |