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:
+1
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user