aboutsummaryrefslogtreecommitdiffstats
path: root/modules/spanningtree/capab.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-04-07 01:15:40 +0100
committerGravatar Sadie Powell2026-04-07 01:15:40 +0100
commit6181df8cb4133b30097d5d5dd785f69220552a03 (patch)
treeacffaac39f6b874d4ec518254662cf6d734a2a81 /modules/spanningtree/capab.cpp
parentAlso define NDEBUG for build type 3. (diff)
Rename DLL_EXTENSION to INSPIRCD_MODULE_EXT.
This will be in config.h when we switch to CMake so I'm renaming it now to reduce the diff size of the CMake commit.
Diffstat (limited to 'modules/spanningtree/capab.cpp')
-rw-r--r--modules/spanningtree/capab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/spanningtree/capab.cpp b/modules/spanningtree/capab.cpp
index a10f5f3eb..04ce0a83b 100644
--- a/modules/spanningtree/capab.cpp
+++ b/modules/spanningtree/capab.cpp
@@ -50,7 +50,7 @@ namespace
// Replace m_foo.dylib with foo
auto startpos = name.compare(0, 2, "m_", 2) ? 0 : 2;
- auto endpos = name.length() - strlen(DLL_EXTENSION);
+ auto endpos = name.length() - strlen(INSPIRCD_MODULE_EXT);
auto modname = name.substr(startpos, endpos - startpos);