summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-28 16:27:47 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-28 16:27:47 +0000
commite8e95f4dfd61c1a462e2e8afe9691916d7308669 (patch)
treee9717ae3ac0905d90b449a08e00d3e910f8f7330
parentbe278d2bb8f67e75c4bb2e5a62f217fe79dc66e3 (diff)
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
-rw-r--r--src/core/bs_fantasy.c28
-rw-r--r--src/core/bs_fantasy_seen.c8
-rw-r--r--src/core/ms_rsend.c8
-rw-r--r--src/core/os_umode.c9
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$
*
*/
@@ -33,14 +33,6 @@ class BSFantasy : public Module
};
/**
- * Unload the module
- **/
-void AnopeFini()
-{
-
-}
-
-/**
* Handle all csmodeutils fantasy commands.
* @param argc Argument count
* @param argv Argument list
@@ -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
@@ -34,14 +34,6 @@ class BSFantasySeen : public Module
};
/**
- * Unload the module
- **/
-void AnopeFini()
-{
-
-}
-
-/**
* Handle seen fantasy command.
* @param argc Argument count
* @param argv Argument list
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
@@ -38,14 +38,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
@@ -40,15 +40,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
**/