diff options
| author | 2026-04-07 01:15:40 +0100 | |
|---|---|---|
| committer | 2026-04-07 01:15:40 +0100 | |
| commit | 6181df8cb4133b30097d5d5dd785f69220552a03 (patch) | |
| tree | acffaac39f6b874d4ec518254662cf6d734a2a81 /modules/spanningtree/capab.cpp | |
| parent | Also 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.cpp | 2 |
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); |
