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 | d1004fe1a46c9f14555ee3b9832c00a696cde0fe (patch) | |
tree | 5dafb7c149850200c80b073dd70fa30749d9484b /src/ircd.c | |
parent | 8705fed8d72a93e34a8b8759bcb42d73f9106370 (diff) |
Added cmd_invite() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1240 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r-- | src/ircd.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/ircd.c b/src/ircd.c index bdc2646ae..348d1ba61 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -51,7 +51,6 @@ void initIrcdProto() ircdproto.ircd_cmd_375 = NULL; ircdproto.ircd_cmd_376 = NULL; ircdproto.ircd_cmd_351 = NULL; - ircdproto.ircd_cmd_invite = NULL; ircdproto.ircd_cmd_part = NULL; ircdproto.ircd_cmd_391 = NULL; ircdproto.ircd_cmd_250 = NULL; @@ -318,7 +317,7 @@ void anope_cmd_unsqline(const char *user) void anope_cmd_invite(const char *source, const char *chan, const char *nick) { - ircdproto.ircd_cmd_invite(source, chan, nick); + ircdprotonew->cmd_invite(source, chan, nick); } void anope_cmd_part(const char *nick, const char *chan, const char *fmt, ...) @@ -658,12 +657,6 @@ void pmodule_cmd_351(void (*func) (const char *source)) ircdproto.ircd_cmd_351 = func; } -void -pmodule_cmd_invite(void (*func) (const char *source, const char *chan, const char *nick)) -{ - ircdproto.ircd_cmd_invite = func; -} - void pmodule_cmd_part(void (*func) (const char *nick, const char *chan, const char *buf)) { ircdproto.ircd_cmd_part = func; |