]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules.h
Add proper support for "munging" of ipv6 addresses when ::ffff:addr is used (this...
[user/henk/code/inspircd.git] / include / modules.h
index fdc1ac1787e2074ecae6882eb2fd513de25cc6ad..25fb52077938fa6c0f5714464901e285bc32d008 100644 (file)
@@ -1071,10 +1071,11 @@ class Module : public Extensible
        /** Called on all /STATS commands
         * This method is triggered for all /STATS use, including stats symbols handled by the core.
         * @param symbol the symbol provided to /STATS
-        * @user the user issuing the /STATS command
+        * @param user the user issuing the /STATS command
+        * @param results A string_list to append results into
         * @return 1 to block the /STATS from being processed by the core, 0 to allow it
         */
-       virtual int OnStats(char symbol, userrec* user);
+       virtual int OnStats(char symbol, userrec* user, string_list &results);
 
        /** Called whenever a change of a local users displayed host is attempted.
         * Return 1 to deny the host change, or 0 to allow it.