From c9f532796633aac3360680fe2461df51786801b8 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 22:53:11 +0000 Subject: Added comment about why its important to push_back onto the string_list when doing OnStats, rather than just WriteServ'ing stuff to the user git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4898 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/modules.h b/include/modules.h index 5f7815605..3375ead8c 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1083,7 +1083,9 @@ class Module : public Extensible * This method is triggered for all /STATS use, including stats symbols handled by the core. * @param symbol the symbol provided to /STATS * @param user the user issuing the /STATS command - * @param results A string_list to append results into + * @param results A string_list to append results into. You should put all your results + * into this string_list, rather than displaying them directly, so that your handler will + * work when remote STATS queries are received. * @return 1 to block the /STATS from being processed by the core, 0 to allow it */ virtual int OnStats(char symbol, userrec* user, string_list &results); -- cgit v1.2.3