summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-10-02 11:15:42 +0100
committerSadie Powell <sadie@witchery.services>2024-10-02 11:15:42 +0100
commit94dbb1959308116c4edf411eb5e88d7ad871286d (patch)
tree74489b16ba4fd240acbb77c794d17e4931be4a78 /src/users.cpp
parent8232759a924e5bd8f7fa5a425dcb930bba4ef3fb (diff)
Remove the formatting overload of User::SetModesInternal.
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 070007648..4e01c6989 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -672,17 +672,6 @@ void User::SetModes(BotInfo *bi, const Anope::string &umodes)
}
}
-void User::SetModesInternal(const MessageSource &source, const char *umodes, ...)
-{
- char buf[BUFSIZE] = "";
- va_list args;
- va_start(args, umodes);
- vsnprintf(buf, BUFSIZE - 1, umodes, args);
- va_end(args);
-
- SetModesInternal(source, Anope::string(buf));
-}
-
void User::SetModesInternal(const MessageSource &source, const Anope::string &umodes)
{
if (this->server && this->server->IsSynced() && Anope::string(umodes) != "+")