diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-30 13:00:51 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-30 13:00:51 +0000 |
commit | c746f9a9644524751501e72aa35547a7110512c1 (patch) | |
tree | ca28fc6dd5337a2755c1640e5628771989f34768 /include/modules.h | |
parent | 08007a721ef12623057188b0475e0738008ecd3f (diff) |
REMOTE STATS! WOOO AND YAY!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4596 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h index fdc1ac178..25fb52077 100644 --- a/include/modules.h +++ b/include/modules.h @@ -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. |