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 /src/modules.cpp | |
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 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index a31a94786..902b940db 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -92,7 +92,7 @@ Module *FindModule(const Anope::string &name) * @param func A callback function that will be called when this message is received * @return The new message object */ -Message *Anope::AddMessage(const Anope::string &name, int (*func)(const Anope::string &source, int ac, const char **av)) +Message *Anope::AddMessage(const Anope::string &name, bool (*func)(const Anope::string &source, const std::vector<Anope::string> ¶ms)) { Message *m = new Message(); |