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:
+10
-18
@@ -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]);
|
||||
|
||||
@@ -33,14 +33,6 @@ class BSFantasySeen : public Module
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Unload the module
|
||||
**/
|
||||
void AnopeFini()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle seen fantasy command.
|
||||
* @param argc Argument count
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user