mirror of
https://github.com/anope/anope.git
synced 2026-07-10 14:03:15 +02:00
Require that users have a non-deprecated database module loaded.
This commit is contained in:
+2
-1
@@ -1248,9 +1248,10 @@ public:
|
||||
|
||||
/** Find the first module of a certain type
|
||||
* @param type The module type
|
||||
* @param ignore If non-nullptr then a module to ignore.
|
||||
* @return The module
|
||||
*/
|
||||
static Module *FindFirstOf(ModType type);
|
||||
static Module *FindFirstOf(ModType type, Module *ignore = nullptr);
|
||||
|
||||
/** Checks whether this version of Anope is at least major.minor.patch.build
|
||||
* Throws a ModuleException if not
|
||||
|
||||
Reference in New Issue
Block a user