diff options
| author | 2024-05-28 23:27:13 +0100 | |
|---|---|---|
| committer | 2024-06-07 12:21:08 +0100 | |
| commit | 80c7578cd9d543b695b10c91d82a59e33ab50b48 (patch) | |
| tree | 1b5c1b0f438ecc563b1265a69ceaedfa81e7eb4b /src/modules/m_alias.cpp | |
| parent | Mark 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.cpp | 8 |
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); } |
