diff options
| author | Adam <Adam@anope.org> | 2010-10-04 16:38:25 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-10-04 16:38:25 -0400 |
| commit | ab5ebc224516abfe424f2e631eed2dc314c32ab9 (patch) | |
| tree | 116b0af44cd0b3d45e3fbf9715264f4c34c9439a /include/modules.h | |
| parent | cf98cd3e06e4de0f9902824b0ef8239e947c5b6a (diff) | |
Automatically destruct messages when modules are unloaded
Diffstat (limited to 'include/modules.h')
| -rw-r--r-- | include/modules.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h index 6d5b5d6e9..4377975b1 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1269,6 +1269,9 @@ struct Message { Anope::string name; bool (*func)(const Anope::string &source, const std::vector<Anope::string> ¶ms); + + Message(const Anope::string &n, bool (*f)(const Anope::string &, const std::vector<Anope::string> &)); + ~Message(); }; #endif // MODULES_H |
