1
0
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:
Adam
2012-06-25 20:51:08 -04:00
parent 2dec8e767a
commit 4b309b5044
+1 -2
View File
@@ -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);
}