diff options
| author | 2026-01-20 16:49:15 +0000 | |
|---|---|---|
| committer | 2026-01-20 16:53:47 +0000 | |
| commit | 321e75e27fe582d25d7b4cf3989c261204eeef4e (patch) | |
| tree | 7dd348658b180e351b7e231fdbc6c15a1ea87707 /modules/spanningtree/capab.cpp | |
| parent | Clean up the sslmodes module. (diff) | |
| download | inspircd++-321e75e27fe582d25d7b4cf3989c261204eeef4e.tar.gz inspircd++-321e75e27fe582d25d7b4cf3989c261204eeef4e.tar.bz2 inspircd++-321e75e27fe582d25d7b4cf3989c261204eeef4e.zip | |
Remove the u_ prefix from user modes.
Diffstat (limited to 'modules/spanningtree/capab.cpp')
| -rw-r--r-- | modules/spanningtree/capab.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/spanningtree/capab.cpp b/modules/spanningtree/capab.cpp index c8edb00ff..302e77e02 100644 --- a/modules/spanningtree/capab.cpp +++ b/modules/spanningtree/capab.cpp @@ -273,8 +273,14 @@ std::string TreeSocket::BuildModeList(ModeType mtype) { if (mtype == MODETYPE_USER) { - if (mh->name == "sslonly") + if (mh->name == "noctcp") + mname = "u_registered"; + else if (mh->name == "registered") + mname = "u_registered"; + else if (mh->name == "sslonly") mname = "sslqueries"; + else if (mh->name == "stripcolor") + mname = "u_stripcolor"; } } // END COMPATIBILITY CODE |
