diff options
| author | 2023-01-23 09:37:15 +0000 | |
|---|---|---|
| committer | 2023-01-23 13:07:53 +0000 | |
| commit | 7edc627317599950cbbc7442f5d0c781203a014b (patch) | |
| tree | 4a38b88b01459eb21c49c16e0eed7ad18b59d083 /src/snomasks.cpp | |
| parent | Replace InspIRCd::Format with fmt::format. (diff) | |
Replace VAFORMAT/InspIRCd::Format/... with fmt::sprintf.
Diffstat (limited to 'src/snomasks.cpp')
| -rw-r--r-- | src/snomasks.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/snomasks.cpp b/src/snomasks.cpp index 2f4a50948..befda3d23 100644 --- a/src/snomasks.cpp +++ b/src/snomasks.cpp @@ -55,20 +55,6 @@ void SnomaskManager::WriteGlobalSno(char letter, const std::string& text) ServerInstance->PI->SendSNONotice(letter, text); } -void SnomaskManager::WriteToSnoMask(char letter, const char* text, ...) -{ - std::string textbuffer; - VAFORMAT(textbuffer, text, text); - this->WriteToSnoMask(letter, textbuffer); -} - -void SnomaskManager::WriteGlobalSno(char letter, const char* text, ...) -{ - std::string textbuffer; - VAFORMAT(textbuffer, text, text); - this->WriteGlobalSno(letter, textbuffer); -} - SnomaskManager::SnomaskManager() { EnableSnomask('a', "ANNOUNCEMENT"); |
