summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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
**/