diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-01 17:24:26 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-01 17:24:26 +0000 |
commit | a2b5941fc71853582a4ac70ce243c433240f7241 (patch) | |
tree | 2161f83629210bfd24b54b0651b35c24921b89e0 /src/ircd.c | |
parent | 196b4a6b6922b36e6d012bc87d25e4500210ffeb (diff) |
Removed set_mod_current_buffer() function from old IRCDProto struct, was never used.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1287 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r-- | src/ircd.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/ircd.c b/src/ircd.c index de77e5be4..e74af5422 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -44,8 +44,6 @@ void pmodule_ircd_proto(IRCDProtoNew *proto) **/ void initIrcdProto() { - ircdproto.ircd_set_mod_current_buffer = NULL; - ircdproto.ircd_set_umode = NULL; ircdproto.ircd_cmd_372 = NULL; ircdproto.ircd_cmd_372_error = NULL; ircdproto.ircd_cmd_375 = NULL; @@ -68,18 +66,7 @@ void initIrcdProto() ircdproto.ircd_valid_chan = NULL; } -/* Special function, returns 1 if executed, 0 if not */ -int anope_set_mod_current_buffer(int ac, char **av) -{ - if (ircdproto.ircd_set_mod_current_buffer) { - ircdproto.ircd_set_mod_current_buffer(ac, av); - return 1; - } - - return 0; -} - -void anope_set_umode(User * user, int ac, const char **av) +void anope_set_umode(User *user, int ac, const char **av) { ircdproto.ircd_set_umode(user, ac, av); } |