1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 02:16:37 +02:00

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
This commit is contained in:
cyberbotx
2008-11-28 16:27:47 +00:00
parent be278d2bb8
commit e8e95f4dfd
4 changed files with 10 additions and 43 deletions
+10 -18
View File
@@ -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]);
-8
View File
@@ -33,14 +33,6 @@ class BSFantasySeen : public Module
}
};
/**
* Unload the module
**/
void AnopeFini()
{
}
/**
* Handle seen fantasy command.
* @param argc Argument count
-8
View File
@@ -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
-9
View File
@@ -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