#include "users.h"
#include "channels.h"
+/** Handle /UNLOADMODULE
+ */
class cmd_unloadmodule : public command_t
{
public:
#include "users.h"
#include "channels.h"
+/** Handle /USER
+ */
class cmd_user : public command_t
{
public:
const std::string GetToken();
};
- /** irc::commasepstream allows for splitting comma seperated lists.
- * Lists passed to irc::commasepstream should not contain spaces
- * after the commas, or this will be taken to be part of the item
- * data. Each successive call to commasepstream::GetToken() returns
+ /** irc::sepstream allows for splitting token seperated lists.
+ * Each successive call to sepstream::GetToken() returns
* the next token, until none remain, at which point the method returns
* an empty string.
*/
std::string::iterator n;
char sep;
public:
- /** Create a commasepstream and fill it with the provided data
+ /** Create a sepstream and fill it with the provided data
*/
sepstream(const std::string &source, char seperator);
virtual ~sepstream();
virtual const std::string GetToken();
};
+ /** A derived form of sepstream, which seperates on commas
+ */
class commasepstream : public sepstream
{
public:
}
};
+ /** A derived form of sepstream, which seperates on spaces
+ */
class spacesepstream : public sepstream
{
public:
return TIME.str();
}
+/** An item in a listmode's list
+ */
class ListItem : public classbase
{
public:
std::string time;
};
+/** The number of items a listmode's list may contain
+ */
class ListLimit : public classbase
{
public:
typedef std::vector<ListItem> modelist;
typedef std::vector<ListLimit> limitlist;
+/** The base class for listmodes defined by u_listmode.h
+ */
class ListModeBase : public ModeHandler
{
protected:
#include "dns.h"
/* $ModDesc: Provides /sslinfo command used to test who a mask matches */
-
+
+/** Handle /SSLINFO
+ */
class cmd_sslinfo : public command_t
{
public:
/* $ModDesc: Provides the NICKLOCK command, allows an oper to chage a users nick and lock them to it until they quit */
-
+/** Handle /NICKLOCK
+ */
class cmd_nicklock : public command_t
{
char* dummy;
}
};
+/** Handle /NICKUNLOCK
+ */
class cmd_nickunlock : public command_t
{
public:
return CMD_SUCCESS;
}
+/** Handle /OPERMOTD
+ */
class cmd_opermotd : public command_t
{
public:
/* $ModDesc: Provides random Quotes on Connect. */
+/** Handle /RANDQUOTE
+ */
class cmd_randquote : public command_t
{
public:
typedef std::vector<userrec *> UserList;
UserList listusers; /* vector of people doing a /list */
-/*
- * To create a timer which recurs every second, we inherit from InspTimer.
+/** To create a timer which recurs every second, we inherit from InspTimer.
* InspTimer is only one-shot however, so at the end of each Tick() we simply
* insert another of ourselves into the pending queue :)
*/
/* $ModDesc: Provides support for unreal-style SAJOIN command */
-
-
-
+/** Handle /SAJOIN
+ */
class cmd_sajoin : public command_t
{
public:
*
*/
-/* $ModDesc: Povides more advanced UnrealIRCd SAMODE command */
+/* $ModDesc: Provides more advanced UnrealIRCd SAMODE command */
/*
* ToDo:
#include "modules.h"
#include "inspircd.h"
-
-
-
+/** Handle /SAMODE
+ */
class cmd_samode : public command_t
{
public:
/* $ModDesc: Provides support for SANICK command */
-
-
-
+/** Handle /SANICK
+ */
class cmd_sanick : public command_t
{
public:
#include "users.h"
#include "channels.h"
#include "modules.h"
-
#include "inspircd.h"
/* $ModDesc: Provides support for unreal-style SAPART command */
-
-
-
+/** Handle /SAPART
+ */
class cmd_sapart : public command_t
{
public:
/* $ModDesc: Provides support for an SAQUIT command, exits user with a reason */
-
-
-
+/** Handle /SAQUIT
+ */
class cmd_saquit : public command_t
{
public:
/* $ModDesc: Provides support for the SETHOST command */
-
-
-
+/** Handle /SETHOST
+ */
class cmd_sethost : public command_t
{
public:
/* $ModDesc: Provides support for the SETIDENT command */
+/** Handle /SETIDENT
+ */
class cmd_setident : public command_t
{
public:
/* $ModDesc: Allows opers to set their idle time */
+/** Handle /SETIDLE
+ */
class cmd_setidle : public command_t
{
public:
}
+/** Handle /RCONNECT
+ */
class cmd_rconnect : public command_t
{
Module* Creator;
}
-
+/** Handle /SPYLIST
+ */
class cmd_spylist : public command_t
{
public:
}
};
+/** Handle /SPYNAMES
+ */
class cmd_spynames : public command_t
{
public:
#include "users.h"
#include "channels.h"
#include "modules.h"
-
#include "inspircd.h"
/* $ModDesc: Provides the SWHOIS command which allows setting of arbitary WHOIS lines */
-
-
+/** Handle /SWHOIS
+ */
class cmd_swhois : public command_t
{
#include "users.h"
#include "channels.h"
#include "modules.h"
-
#include "dns.h"
#include "inspircd.h"
/* $ModDesc: Povides a proof-of-concept test /WOOT command */
-
-
+/** A test resolver class for IPV6
+ */
class MyV6Resolver : public Resolver
{
bool fw;
}
};
-
-
+/** Handle /WOOT
+ */
class cmd_woot : public command_t
{
public:
#include "users.h"
#include "channels.h"
#include "modules.h"
-
#include "hashcomp.h"
#include "configreader.h"
#include "inspircd.h"
-
-
+/** Holds a timed ban
+ */
class TimedBan : public classbase
{
public:
typedef std::vector<TimedBan> timedbans;
timedbans TimedBanList;
+/** Handle /TBAN
+ */
class cmd_tban : public command_t
{
public:
#include "users.h"
#include "channels.h"
#include "modules.h"
-
#include "wildcard.h"
#include "inspircd.h"
#include "dns.h"
/* $ModDesc: Provides /tline command used to test who a mask matches */
-
-
-
+/** Handle /TLINE
+ */
class cmd_tline : public command_t
{
public:
#include "users.h"
#include "channels.h"
#include "modules.h"
-
#include "configreader.h"
#include "inspircd.h"
-
-
-
+/** Handle /UNINVITE
+ */
class cmd_uninvite : public command_t
{
public:
#include "users.h"
#include "channels.h"
#include "modules.h"
-
#include "inspircd.h"
/* $ModDesc: Provides support for USERIP command */
-
-
-
+/** Handle /USERIP
+ */
class cmd_userip : public command_t
{
public:
/* $ModDesc: Provides masking of user hostnames via traditional /VHOST command */
-static ConfigReader *Conf;
-
+static ConfigReader* Conf;
+/** Handle /VHOST
+ */
class cmd_vhost : public command_t
{
public:
- cmd_vhost (InspIRCd* Instance) : command_t(Instance,"VHOST", 0, 2)
+ cmd_vhost (InspIRCd* Instance) : command_t(Instance,"VHOST", 0, 2)
{
this->source = "m_vhost.so";
syntax = "<username> <password>";