summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h
index ff9303c4f..eb3b15094 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -212,6 +212,8 @@ class CoreExport Module : public Extensible
*/
Anope::string author;
+ Logger logger;
+
/** Creates and initialises a new module.
* @param modname The module name
* @param loadernick The nickname of the user loading the module.
@@ -223,6 +225,8 @@ class CoreExport Module : public Extensible
*/
virtual ~Module();
+ const Anope::string &GetName() const;
+
/** Toggles the permanent flag on a module. If a module is permanent,
* then it may not be unloaded.
*