diff options
author | Adam <Adam@anope.org> | 2012-06-25 20:51:08 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-06-25 20:51:08 -0400 |
commit | 4b309b5044bf492a817098ee030fc5fb69650032 (patch) | |
tree | 4e093149210a6067dfefae53f77347fed36babab | |
parent | 2dec8e767a70def4b9b04a96ae4f75e4d1013038 (diff) |
Fixed accidentally recursion in User::SendMessage from last commit
-rw-r--r-- | src/users.cpp | 3 |
1 files changed, 1 insertions, 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); } |