summaryrefslogtreecommitdiff
path: root/include/anope.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-10-04 13:59:30 -0400
committerAdam <Adam@anope.org>2010-10-04 13:59:30 -0400
commitcf98cd3e06e4de0f9902824b0ef8239e947c5b6a (patch)
treefad06aca79be531d306eb8bf096e0160d6323f9c /include/anope.h
parent632f8df76b31f1300e7ac72890567834eac5511e (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/anope.h')
-rw-r--r--include/anope.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/anope.h b/include/anope.h
index cbc87bf7b..ce206bc8e 100644
--- a/include/anope.h
+++ b/include/anope.h
@@ -309,7 +309,7 @@ namespace Anope
* @param func A callback function that will be called when this message is received
* @return The new message object
*/
- extern CoreExport Message *AddMessage(const string &name, int (*func)(const string &source, int ac, const char **av));
+ extern CoreExport Message *AddMessage(const string &name, bool (*func)(const string &source, const std::vector<Anope::string> &params));
/** Deletes a message from Anope
* XXX Im not sure what will happen if this function is called indirectly from message function pointed to by this message.. must check