summaryrefslogtreecommitdiff
path: root/include/commands
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-01 20:31:29 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-01 20:31:29 +0000
commit77f2c9bb246e5d48240f3f869ae625cd9f77568f (patch)
tree55edaf24d59844e34c99c3d8fd8e764aad96d0e0 /include/commands
parentc34dd1e50faa413e35d75191afa2d93aab1e7c76 (diff)
Make valgrind happy and not leak mem.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7201 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/commands')
-rw-r--r--include/commands/cmd_whowas.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/commands/cmd_whowas.h b/include/commands/cmd_whowas.h
index 2568a0986..e2bab7a0f 100644
--- a/include/commands/cmd_whowas.h
+++ b/include/commands/cmd_whowas.h
@@ -67,6 +67,10 @@ class cmd_whowas : public command_t
*/
whowas_users_fifo whowas_fifo;
+ /* String holding stats so it can be collected
+ */
+ std::string stats;
+
public:
cmd_whowas(InspIRCd* Instance);
CmdResult Handle(const char** parameters, int pcnt, userrec *user);