mirror of
https://github.com/anope/anope.git
synced 2026-07-09 08:03:13 +02:00
Automatically destruct messages when modules are unloaded
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user