diff options
| author | 2023-08-18 13:41:28 +0100 | |
|---|---|---|
| committer | 2023-08-18 13:41:28 +0100 | |
| commit | 21b5db5d9e48e0d81f1c340382c16f77b2bb03b6 (patch) | |
| tree | 43f9b3ed02a12661cb23a1c2088ab47c9cf125fe /src/modules/m_rline.cpp | |
| parent | Always enable HTTP parameters for user statistics. (diff) | |
Don't include "regex/" in the link data of the filter/rline modules.
Diffstat (limited to 'src/modules/m_rline.cpp')
| -rw-r--r-- | src/modules/m_rline.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/m_rline.cpp b/src/modules/m_rline.cpp index f303ca64a..071f56009 100644 --- a/src/modules/m_rline.cpp +++ b/src/modules/m_rline.cpp @@ -248,7 +248,10 @@ public: void GetLinkData(LinkData& data, std::string& compatdata) override { if (rxfactory) - data["regex"] = compatdata = rxfactory->name; + { + compatdata = rxfactory->name; // e.g. regex/pcre + data["regex"] = rxfactory->GetName(); // e.g. pcre + } else data["regex"] = "broken"; } |
