X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsnomasks.cpp;h=e0305ea061330120fe1a575a5e0059b6eb93e1ea;hb=a500ec70bb82151c8fcf7443b4645640233952e8;hp=d7cb64f26d45c5f46817049a0070ecc0b8cfa9df;hpb=1031f333332cf1b09db4fd632f141143ee637c34;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/snomasks.cpp b/src/snomasks.cpp index d7cb64f26..e0305ea06 100644 --- a/src/snomasks.cpp +++ b/src/snomasks.cpp @@ -47,7 +47,7 @@ void SnomaskManager::WriteGlobalSno(char letter, const std::string& text) { WriteToSnoMask(letter, text); letter = toupper(letter); - ServerInstance->PI->SendSNONotice(std::string(1, letter), text); + ServerInstance->PI->SendSNONotice(letter, text); } void SnomaskManager::WriteToSnoMask(char letter, const char* text, ...)