diff options
| author | 2021-04-04 23:42:15 +0100 | |
|---|---|---|
| committer | 2021-04-04 23:42:15 +0100 | |
| commit | 7d84e4900fa8f4ef96e8cf4bb67b76be7902e840 (patch) | |
| tree | f5a81d03f572392e7547d58f979fdd488de6ff0b /src/snomasks.cpp | |
| parent | Remove the unused ExitCodes array. (diff) | |
Fix a ton of pedantic compiler warnings.
Diffstat (limited to 'src/snomasks.cpp')
| -rw-r--r-- | src/snomasks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snomasks.cpp b/src/snomasks.cpp index cf1f2554a..296525534 100644 --- a/src/snomasks.cpp +++ b/src/snomasks.cpp @@ -147,6 +147,6 @@ std::string Snomask::GetDescription(char letter) const if (!Description.empty()) ret += Description; else - ret += std::string("SNO-") + (char)tolower(letter); + ret += InspIRCd::Format("SNO-%c", tolower(letter)); return ret; } |
