summaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-07-30 17:34:05 +0100
committerPeter Powell <petpow@saberuk.com>2017-09-08 20:11:50 +0100
commit51a47e7d757df63370168ab5000d13ca9c349ecd (patch)
tree52db2b2e585988b27f1ba7c26792208f323bc610 /src/server.cpp
parent5a3f8af9f963b164832fabc1163611a2b768a890 (diff)
Implement support for configurable casemapping & default to ASCII.
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 6782187fe..f18c9c86c 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -164,7 +164,7 @@ void ISupportManager::Build()
std::map<std::string, std::string> tokens;
tokens["AWAYLEN"] = ConvToStr(ServerInstance->Config->Limits.MaxAway);
- tokens["CASEMAPPING"] = "rfc1459";
+ tokens["CASEMAPPING"] = ServerInstance->Config->CaseMapping;
tokens["CHANLIMIT"] = InspIRCd::Format("#:%u", ServerInstance->Config->MaxChans);
tokens["CHANMODES"] = ServerInstance->Modes->GiveModeList(MODETYPE_CHANNEL);
tokens["CHANNELLEN"] = ConvToStr(ServerInstance->Config->Limits.ChanMax);