aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/snomasks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/snomasks.h b/include/snomasks.h
index db8dbf59e..c9f8feb3f 100644
--- a/include/snomasks.h
+++ b/include/snomasks.h
@@ -104,7 +104,7 @@ public:
template <typename... Args>
void WriteToSnoMask(char letter, const char* text, Args&&... args)
{
- WriteToSnoMask(letter, fmt::sprintf(text, std::forward<Args>(args)...));
+ WriteToSnoMask(letter, fmt::format(text, std::forward<Args>(args)...));
}
/** Write to all users with a given snomask (sent globally)
@@ -121,7 +121,7 @@ public:
template <typename... Args>
void WriteGlobalSno(char letter, const char* text, Args&&... args)
{
- WriteGlobalSno(letter, fmt::sprintf(text, std::forward<Args>(args)...));
+ WriteGlobalSno(letter, fmt::format(text, std::forward<Args>(args)...));
}
/** Called once per 5 seconds from the mainloop, this flushes any cached