summaryrefslogtreecommitdiff
path: root/modules/protocol/solanum.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-26 22:46:10 +0000
committerSadie Powell <sadie@witchery.services>2024-02-26 23:56:07 +0000
commit1e87849e5c218cc3d99e259f9ea43493bd8bc633 (patch)
tree4873ba987dd95addf9d7620485c7a5b1898b931a /modules/protocol/solanum.cpp
parent5fa4acb1950cd21812d577f9ea6f99caaef255eb (diff)
Rework IRCDMessage/IRCDMessageFlag.
Diffstat (limited to 'modules/protocol/solanum.cpp')
-rw-r--r--modules/protocol/solanum.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/protocol/solanum.cpp b/modules/protocol/solanum.cpp
index 4b70965f2..843ffa33d 100644
--- a/modules/protocol/solanum.cpp
+++ b/modules/protocol/solanum.cpp
@@ -178,7 +178,7 @@ struct IRCDMessageEncap final
{
IRCDMessageEncap(Module *creator) : IRCDMessage(creator, "ENCAP", 3)
{
- SetFlag(IRCDMESSAGE_SOFT_LIMIT);
+ SetFlag(FLAG_SOFT_LIMIT);
}
void Run(MessageSource &source, const std::vector<Anope::string> &params, const Anope::map<Anope::string> &tags) override
@@ -233,7 +233,7 @@ struct IRCDMessageEncap final
struct IRCDMessageEUID final
: IRCDMessage
{
- IRCDMessageEUID(Module *creator) : IRCDMessage(creator, "EUID", 11) { SetFlag(IRCDMESSAGE_REQUIRE_SERVER); }
+ IRCDMessageEUID(Module *creator) : IRCDMessage(creator, "EUID", 11) { SetFlag(FLAG_REQUIRE_SERVER); }
/*
* :42X EUID DukePyrolator 1 1353240577 +Zi ~jens erft-5d80b00b.pool.mediaWays.net 93.128.176.11 42XAAAAAD * * :jens
@@ -262,7 +262,7 @@ struct IRCDMessageEUID final
struct IRCDMessageServer final
: IRCDMessage
{
- IRCDMessageServer(Module *creator) : IRCDMessage(creator, "SERVER", 3) { SetFlag(IRCDMESSAGE_REQUIRE_SERVER); }
+ IRCDMessageServer(Module *creator) : IRCDMessage(creator, "SERVER", 3) { SetFlag(FLAG_REQUIRE_SERVER); }
// SERVER dev.anope.de 1 :solanum test server
void Run(MessageSource &source, const std::vector<Anope::string> &params, const Anope::map<Anope::string> &tags) override
@@ -279,7 +279,7 @@ struct IRCDMessageServer final
struct IRCDMessagePass final
: IRCDMessage
{
- IRCDMessagePass(Module *creator) : IRCDMessage(creator, "PASS", 4) { SetFlag(IRCDMESSAGE_REQUIRE_SERVER); }
+ IRCDMessagePass(Module *creator) : IRCDMessage(creator, "PASS", 4) { SetFlag(FLAG_REQUIRE_SERVER); }
void Run(MessageSource &source, const std::vector<Anope::string> &params, const Anope::map<Anope::string> &tags) override
{