From 80c7578cd9d543b695b10c91d82a59e33ab50b48 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 28 May 2024 23:27:13 +0100 Subject: Remove v3 config compatibility code. --- src/modules/m_alias.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/modules/m_alias.cpp') 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, " 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); } -- cgit v1.3.1-10-gc9f91