1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 01:06:39 +02:00

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

This commit is contained in:
Adam
2010-10-04 13:59:30 -04:00
parent 632f8df76b
commit cf98cd3e06
19 changed files with 1417 additions and 1739 deletions
+1 -1
View File
@@ -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> &params))
{
Message *m = new Message();