#include "inspircd.h"
#include "event.h"
#include "modules/dns.h"
+#include "modules/ssl.h"
#include "modules/stats.h"
#include "servercommand.h"
#include "commands.h"
* Failure to document your protocol changes will result in a painfully
* painful death by pain. You have been warned.
*/
-const long ProtocolVersion = 1205;
-const long MinCompatProtocol = 1202;
+const unsigned int ProtocolVersion = 1205;
+const unsigned int MinCompatProtocol = 1202;
/** Forward declarations
*/
*/
Events::ModuleEventProvider eventprov;
+ /** API for accessing user SSL certificates. */
+ UserCertificateAPI sslapi;
+
public:
dynamic_reference<DNS::Manager> DNS;
+ /** Event provider for message tags. */
+ Events::ModuleEventProvider tagevprov;
+
ServerCommandManager CmdManager;
/** Set to true if inside a spanningtree call, to prevent sending
**/
ModResult OnPreCommand(std::string& command, CommandBase::Params& parameters, LocalUser* user, bool validated) CXX11_OVERRIDE;
- void OnPostCommand(Command*, const CommandBase::Params& parameters, LocalUser* user, CmdResult result) CXX11_OVERRIDE;
+ void OnPostCommand(Command*, const CommandBase::Params& parameters, LocalUser* user, CmdResult result, bool loop) CXX11_OVERRIDE;
void OnUserConnect(LocalUser* source) CXX11_OVERRIDE;
void OnUserInvite(User* source, User* dest, Channel* channel, time_t timeout, unsigned int notifyrank, CUList& notifyexcepts) CXX11_OVERRIDE;
ModResult OnPreTopicChange(User* user, Channel* chan, const std::string& topic) CXX11_OVERRIDE;