mirror of
https://github.com/anope/anope.git
synced 2026-07-05 06:33:13 +02:00
Windows fixes
This commit is contained in:
+1
-1
@@ -306,7 +306,7 @@ class CoreExport NickCore : public Serializable, public Extensible, public Flags
|
||||
void ClearCert();
|
||||
};
|
||||
|
||||
class IdentifyRequest
|
||||
class CoreExport IdentifyRequest
|
||||
{
|
||||
Module *owner;
|
||||
Anope::string account;
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
#include "service.h"
|
||||
#include "anope.h"
|
||||
#include "channels.h"
|
||||
|
||||
enum CommandFlag
|
||||
{
|
||||
|
||||
+1
-1
@@ -33,6 +33,7 @@ class Log;
|
||||
class LogInfo;
|
||||
class Memo;
|
||||
class Message;
|
||||
class MessageSource;
|
||||
class Module;
|
||||
class NickAlias;
|
||||
class NickCore;
|
||||
@@ -50,7 +51,6 @@ struct BadWord;
|
||||
struct DNSQuery;
|
||||
struct Exception;
|
||||
struct MemoInfo;
|
||||
struct MessageSource;
|
||||
struct ModeLock;
|
||||
struct Oper;
|
||||
|
||||
|
||||
+1
-1
@@ -260,7 +260,7 @@ class CoreExport DNSManager : public Timer
|
||||
static DNSQuery BlockingQuery(const Anope::string &mask, QueryType qt);
|
||||
};
|
||||
|
||||
extern DNSManager *DNSEngine;
|
||||
extern CoreExport DNSManager *DNSEngine;
|
||||
|
||||
#endif // DNS_H
|
||||
|
||||
|
||||
+17
-17
@@ -5,119 +5,119 @@
|
||||
* as they see fit.
|
||||
*/
|
||||
|
||||
struct CoreIRCDMessageAway : IRCDMessage
|
||||
struct CoreExport CoreIRCDMessageAway : IRCDMessage
|
||||
{
|
||||
CoreIRCDMessageAway(const Anope::string &mname = "AWAY") : IRCDMessage(mname, 0) { SetFlag(IRCDMESSAGE_REQUIRE_USER); SetFlag(IRCDMESSAGE_SOFT_LIMIT); }
|
||||
|
||||
bool Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override;
|
||||
};
|
||||
|
||||
struct CoreIRCDMessageCapab : IRCDMessage
|
||||
struct CoreExport CoreIRCDMessageCapab : IRCDMessage
|
||||
{
|
||||
CoreIRCDMessageCapab(const Anope::string &mname = "CAPAB") : IRCDMessage(mname, 1) { SetFlag(IRCDMESSAGE_SOFT_LIMIT); }
|
||||
|
||||
bool Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override;
|
||||
};
|
||||
|
||||
struct CoreIRCDMessageError : IRCDMessage
|
||||
struct CoreExport CoreIRCDMessageError : IRCDMessage
|
||||
{
|
||||
CoreIRCDMessageError(const Anope::string &mname = "ERROR") : IRCDMessage(mname, 1) { }
|
||||
|
||||
bool Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override;
|
||||
};
|
||||
|
||||
struct CoreIRCDMessageJoin : IRCDMessage
|
||||
struct CoreExport CoreIRCDMessageJoin : IRCDMessage
|
||||
{
|
||||
CoreIRCDMessageJoin(const Anope::string &mname = "JOIN") : IRCDMessage(mname, 1) { SetFlag(IRCDMESSAGE_REQUIRE_USER); SetFlag(IRCDMESSAGE_SOFT_LIMIT); }
|
||||
|
||||
bool Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override;
|
||||
};
|
||||
|
||||
struct CoreIRCDMessageKick : IRCDMessage
|
||||
struct CoreExport CoreIRCDMessageKick : IRCDMessage
|
||||
{
|
||||
CoreIRCDMessageKick(const Anope::string &mname = "KICK") : IRCDMessage(mname, 2) { SetFlag(IRCDMESSAGE_SOFT_LIMIT); }
|
||||
|
||||
bool Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override;
|
||||
};
|
||||
|
||||
struct CoreIRCDMessageKill : IRCDMessage
|
||||
struct CoreExport CoreIRCDMessageKill : IRCDMessage
|
||||
{
|
||||
CoreIRCDMessageKill(const Anope::string &mname = "KILL") : IRCDMessage(mname, 2) { }
|
||||
|
||||
bool Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override;
|
||||
};
|
||||
|
||||
struct CoreIRCDMessageMOTD : IRCDMessage
|
||||
struct CoreExport CoreIRCDMessageMOTD : IRCDMessage
|
||||
{
|
||||
CoreIRCDMessageMOTD(const Anope::string &mname = "MOTD") : IRCDMessage(mname, 1) { }
|
||||
|
||||
bool Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override;
|
||||
};
|
||||
|
||||
struct CoreIRCDMessagePart : IRCDMessage
|
||||
struct CoreExport CoreIRCDMessagePart : IRCDMessage
|
||||
{
|
||||
CoreIRCDMessagePart(const Anope::string &mname = "PART") : IRCDMessage(mname, 1) { SetFlag(IRCDMESSAGE_REQUIRE_USER); SetFlag(IRCDMESSAGE_SOFT_LIMIT); }
|
||||
|
||||
bool Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override;
|
||||
};
|
||||
|
||||
struct CoreIRCDMessagePing : IRCDMessage
|
||||
struct CoreExport CoreIRCDMessagePing : IRCDMessage
|
||||
{
|
||||
CoreIRCDMessagePing(const Anope::string &mname = "PING") : IRCDMessage(mname, 1) { SetFlag(IRCDMESSAGE_SOFT_LIMIT); }
|
||||
|
||||
bool Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override;
|
||||
};
|
||||
|
||||
struct CoreIRCDMessagePrivmsg : IRCDMessage
|
||||
struct CoreExport CoreIRCDMessagePrivmsg : IRCDMessage
|
||||
{
|
||||
CoreIRCDMessagePrivmsg(const Anope::string &mname = "PRIVMSG") : IRCDMessage(mname, 2) { SetFlag(IRCDMESSAGE_REQUIRE_USER); }
|
||||
|
||||
bool Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override;
|
||||
};
|
||||
|
||||
struct CoreIRCDMessageQuit : IRCDMessage
|
||||
struct CoreExport CoreIRCDMessageQuit : IRCDMessage
|
||||
{
|
||||
CoreIRCDMessageQuit(const Anope::string &mname = "QUIT") : IRCDMessage(mname, 1) { SetFlag(IRCDMESSAGE_REQUIRE_USER); }
|
||||
|
||||
bool Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override;
|
||||
};
|
||||
|
||||
struct CoreIRCDMessageSQuit : IRCDMessage
|
||||
struct CoreExport CoreIRCDMessageSQuit : IRCDMessage
|
||||
{
|
||||
CoreIRCDMessageSQuit(const Anope::string &mname = "SQUIT") : IRCDMessage(mname, 2) { SetFlag(IRCDMESSAGE_REQUIRE_SERVER); }
|
||||
|
||||
bool Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override;
|
||||
};
|
||||
|
||||
struct CoreIRCDMessageStats : IRCDMessage
|
||||
struct CoreExport CoreIRCDMessageStats : IRCDMessage
|
||||
{
|
||||
CoreIRCDMessageStats(const Anope::string &mname = "STATS") : IRCDMessage(mname, 1) { SetFlag(IRCDMESSAGE_REQUIRE_USER); SetFlag(IRCDMESSAGE_SOFT_LIMIT); }
|
||||
|
||||
bool Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override;
|
||||
};
|
||||
|
||||
struct CoreIRCDMessageTime : IRCDMessage
|
||||
struct CoreExport CoreIRCDMessageTime : IRCDMessage
|
||||
{
|
||||
CoreIRCDMessageTime(const Anope::string &mname = "TIME") : IRCDMessage(mname, 0) { SetFlag(IRCDMESSAGE_SOFT_LIMIT); }
|
||||
|
||||
bool Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override;
|
||||
};
|
||||
|
||||
struct CoreIRCDMessageTopic : IRCDMessage
|
||||
struct CoreExport CoreIRCDMessageTopic : IRCDMessage
|
||||
{
|
||||
CoreIRCDMessageTopic(const Anope::string &mname = "TOPIC") : IRCDMessage(mname, 2) { SetFlag(IRCDMESSAGE_REQUIRE_USER); }
|
||||
|
||||
bool Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override;
|
||||
};
|
||||
|
||||
struct CoreIRCDMessageVersion : IRCDMessage
|
||||
struct CoreExport CoreIRCDMessageVersion : IRCDMessage
|
||||
{
|
||||
CoreIRCDMessageVersion(const Anope::string &mname = "VERSION") : IRCDMessage(mname, 0) { SetFlag(IRCDMESSAGE_SOFT_LIMIT); }
|
||||
|
||||
bool Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override;
|
||||
};
|
||||
|
||||
struct CoreIRCDMessageWhois : IRCDMessage
|
||||
struct CoreExport CoreIRCDMessageWhois : IRCDMessage
|
||||
{
|
||||
CoreIRCDMessageWhois(const Anope::string &mname = "WHOIS") : IRCDMessage(mname, 1) { SetFlag(IRCDMESSAGE_SOFT_LIMIT); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user