#include "users.h"
#include "channels.h"
#include "modules.h"
-
#include "hashcomp.h"
#include "inspircd.h"
/* $ModDesc: Provides support for the /watch command */
-
-
-
+/** A watchlist entry
+ */
class watchentry : public classbase
{
public:
typedef std::vector<watchentry*> watchlist;
watchlist watches;
+/** Handle /WATCH
+ */
class cmd_watch : public command_t
{
public:
virtual Version GetVersion()
{
- return Version(1,0,0,1,VF_VENDOR,API_VERSION);
+ return Version(1,1,0,1,VF_VENDOR,API_VERSION);
}
};