listusers has to be global now (ugh)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3306 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2006-02-23 20:01:01 +00:00
parent 8c2bd7cc63
commit 2ea0bbefc4

View File

@ -39,6 +39,7 @@ class ListData
/* $ModDesc: A module overriding /list, and making it safe - stop those sendq problems. */ /* $ModDesc: A module overriding /list, and making it safe - stop those sendq problems. */
typedef std::vector<userrec *> UserList; typedef std::vector<userrec *> UserList;
UserList listusers; /* vector of people doing a /list */
class ListTimer : public InspTimer class ListTimer : public InspTimer
{ {
@ -121,7 +122,6 @@ class ModuleSafeList : public Module
private: private:
Server *Srv; Server *Srv;
ListTimer* MyTimer; ListTimer* MyTimer;
UserList listusers; /* vector of people doing a /list */
public: public:
ModuleSafeList(Server* Me) : Module::Module(Me) ModuleSafeList(Server* Me) : Module::Module(Me)
{ {