aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_alias.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-05-28 23:27:13 +0100
committerGravatar Sadie Powell2024-06-07 12:21:08 +0100
commit80c7578cd9d543b695b10c91d82a59e33ab50b48 (patch)
tree1b5c1b0f438ecc563b1265a69ceaedfa81e7eb4b /src/modules/m_alias.cpp
parentMark as v4.0.0 prerelease 0. (diff)
Remove v3 config compatibility code.
Diffstat (limited to 'src/modules/m_alias.cpp')
-rw-r--r--src/modules/m_alias.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp
index 35533566b..28d676b3e 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -96,7 +96,7 @@ public:
throw ModuleException(this, "<alias:replace> is empty! at " + tag->source.str());
a.RequiredNick = tag->getString("requires");
- a.ServiceOnly = tag->getBool("service", tag->getBool("uline"));
+ a.ServiceOnly = tag->getBool("service");
a.ChannelCommand = tag->getBool("channelcommand", false);
a.UserCommand = tag->getBool("usercommand", true);
a.OperOnly = tag->getBool("operonly");
@@ -371,12 +371,6 @@ public:
result.append(user->GetAddress());
i += 7;
}
- else if (!newline.compare(i, 6, "$ident", 6))
- {
- // TODO: remove this in the next major release.
- result.append(user->GetRealUser());
- i += 5;
- }
else
result.push_back(c);
}