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 | 8705fed8d72a93e34a8b8759bcb42d73f9106370 (patch) | |
tree | 6d2f6eb1135ce906a4638ee7f0c059cc5a5fb723 /src/ircd.c | |
parent | 6ae0b4e597e18857b2f96de49c947e47f101d80b (diff) |
Added cmd_unsqline() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1239 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r-- | src/ircd.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ircd.c b/src/ircd.c index a33dea4e7..bdc2646ae 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_unsqline = NULL; ircdproto.ircd_cmd_invite = NULL; ircdproto.ircd_cmd_part = NULL; ircdproto.ircd_cmd_391 = NULL; @@ -314,7 +313,7 @@ void anope_cmd_join(const char *user, const char *channel, time_t chantime) void anope_cmd_unsqline(const char *user) { - ircdproto.ircd_cmd_unsqline(user); + ircdprotonew->cmd_unsqline(user); } void anope_cmd_invite(const char *source, const char *chan, const char *nick) @@ -659,11 +658,6 @@ void pmodule_cmd_351(void (*func) (const char *source)) ircdproto.ircd_cmd_351 = func; } -void pmodule_cmd_unsqline(void (*func) (const char *user)) -{ - ircdproto.ircd_cmd_unsqline = func; -} - void pmodule_cmd_invite(void (*func) (const char *source, const char *chan, const char *nick)) { |