mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
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
This commit is contained in:
parent
b96de3df20
commit
c9f5327966
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user