diff options
author | Adam <Adam@anope.org> | 2010-10-04 13:59:30 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-10-04 13:59:30 -0400 |
commit | cf98cd3e06e4de0f9902824b0ef8239e947c5b6a (patch) | |
tree | fad06aca79be531d306eb8bf096e0160d6323f9c /include/modules.h | |
parent | 632f8df76b31f1300e7ac72890567834eac5511e (diff) |
Changed the protocol handling system to use a vector of strings instead of C style arrays. Burned the old process/split_buf/memory.c code
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h index a48e7385f..6d5b5d6e9 100644 --- a/include/modules.h +++ b/include/modules.h @@ -159,7 +159,6 @@ enum Priority { PRIORITY_FIRST, PRIORITY_DONTCARE, PRIORITY_LAST, PRIORITY_BEFOR /* Module types, in the order in which they are unloaded. The order these are in is IMPORTANT */ enum MODType { MT_BEGIN, THIRD, QATESTED, SUPPORTED, CORE, DATABASE, ENCRYPTION, PROTOCOL, SOCKETENGINE, MT_END }; -struct Message; typedef std::multimap<Anope::string, Message *> message_map; extern CoreExport message_map MessageMap; class Module; @@ -1269,7 +1268,7 @@ class service_reference : public dynamic_reference<T> struct Message { Anope::string name; - int (*func)(const Anope::string &source, int ac, const char **av); + bool (*func)(const Anope::string &source, const std::vector<Anope::string> ¶ms); }; #endif // MODULES_H |