From e8e95f4dfd61c1a462e2e8afe9691916d7308669 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Fri, 28 Nov 2008 16:27:47 +0000 Subject: [PATCH] Removed a few instances of AnopeFini that were still clutching on for dear life, only to be cut down in their prime. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1812 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/bs_fantasy.c | 28 ++++++++++------------------ src/core/bs_fantasy_seen.c | 8 -------- src/core/ms_rsend.c | 8 -------- src/core/os_umode.c | 9 --------- 4 files changed, 10 insertions(+), 43 deletions(-) diff --git a/src/core/bs_fantasy.c b/src/core/bs_fantasy.c index 80d07d993..8c1606b3f 100644 --- a/src/core/bs_fantasy.c +++ b/src/core/bs_fantasy.c @@ -6,8 +6,8 @@ * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * + * Based on the original code of Services by Andy Church. + * * $Id$ * */ @@ -32,14 +32,6 @@ class BSFantasy : public Module } }; -/** - * Unload the module - **/ -void AnopeFini() -{ - -} - /** * Handle all csmodeutils fantasy commands. * @param argc Argument count @@ -58,14 +50,14 @@ int do_fantasy(int argc, char **argv) do { if (stricmp(argv[0], util->bsname) == 0) { - /* This could have been moved to its own module - however it would require more coding to handle the pass holders - similar to how PROTECT is done - */ - if (!ircd->halfop) { - if (!stricmp(argv[0], "halfop") || !stricmp(argv[0], "dehalfop")) { - return MOD_CONT; - } + /* This could have been moved to its own module + however it would require more coding to handle the pass holders + similar to how PROTECT is done + */ + if (!ircd->halfop) { + if (!stricmp(argv[0], "halfop") || !stricmp(argv[0], "dehalfop")) { + return MOD_CONT; + } } u = finduser(argv[1]); ci = cs_findchan(argv[2]); diff --git a/src/core/bs_fantasy_seen.c b/src/core/bs_fantasy_seen.c index 9636d9d7a..677e56830 100644 --- a/src/core/bs_fantasy_seen.c +++ b/src/core/bs_fantasy_seen.c @@ -33,14 +33,6 @@ class BSFantasySeen : public Module } }; -/** - * Unload the module - **/ -void AnopeFini() -{ - -} - /** * Handle seen fantasy command. * @param argc Argument count diff --git a/src/core/ms_rsend.c b/src/core/ms_rsend.c index 2c630e63f..0d9e6baca 100644 --- a/src/core/ms_rsend.c +++ b/src/core/ms_rsend.c @@ -37,14 +37,6 @@ class MSRSend : public Module } }; -/** - * Unload the module - **/ -void AnopeFini() -{ - -} - /** * Add the help response to anopes /ms help output. * @param u The user who is requesting help diff --git a/src/core/os_umode.c b/src/core/os_umode.c index ca6b5aa9c..4714a7a15 100644 --- a/src/core/os_umode.c +++ b/src/core/os_umode.c @@ -39,15 +39,6 @@ class OSUMode : public Module } }; -/** - * Unload the module - **/ -void AnopeFini() -{ - -} - - /** * Add the help response to anopes /os help output. * @param u The user who is requesting help