mirror of
https://github.com/anope/anope.git
synced 2026-06-26 05:26:37 +02:00
Fixed accidentally recursion in User::SendMessage from last commit
This commit is contained in:
+1
-2
@@ -234,8 +234,7 @@ void User::SendMessage(const BotInfo *source, const char *fmt, ...)
|
||||
va_start(args, fmt);
|
||||
vsnprintf(buf, BUFSIZE - 1, translated_message, args);
|
||||
|
||||
Anope::string m = buf;
|
||||
this->SendMessage(source, buf);
|
||||
this->SendMessage(source, Anope::string(buf));
|
||||
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user