From 4b309b5044bf492a817098ee030fc5fb69650032 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 25 Jun 2012 20:51:08 -0400 Subject: [PATCH] Fixed accidentally recursion in User::SendMessage from last commit --- src/users.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/users.cpp b/src/users.cpp index 18bafd032..338dc343f 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -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); }