summaryrefslogtreecommitdiff
path: root/src/snomasks.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-01-04 19:43:04 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-01-04 19:43:04 +0100
commita500ec70bb82151c8fcf7443b4645640233952e8 (patch)
treee3068140d44bed3c8e35a0d24846bc40dcb14330 /src/snomasks.cpp
parentb5bc73e31026ee2087f0ceb5c7d9f99bf3c288a6 (diff)
Change type of snomask parameter to char in ProtocolInterface::SendSNONotice()
Diffstat (limited to 'src/snomasks.cpp')
-rw-r--r--src/snomasks.cpp2
1 files changed, 1 insertions, 1 deletions
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, ...)