summaryrefslogtreecommitdiff
path: root/src/modules.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.c')
-rw-r--r--src/modules.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules.c b/src/modules.c
index 9e232400a..a6cad9be7 100644
--- a/src/modules.c
+++ b/src/modules.c
@@ -344,6 +344,7 @@ void modules_unload_all(bool fini, bool unload_proto)
Module::Module(const std::string &mname, const std::string &creator)
{
this->name = mname; /* Our name */
+ this->filename = NULL;
this->nickHelp = NULL;
this->chanHelp = NULL;
this->memoHelp = NULL;
@@ -381,7 +382,7 @@ Module::~Module()
}
/*
- * No need to free our cmd/msg list, as they will always be empty by the module is destroyed
+ * No need to free our cmd/msg list, as they will always be empty by the module is destroyed
* XXX: not sure I like this assumption -- w00t
*/
}