summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlethality <lethality@anope.org>2012-06-26 02:01:01 +0100
committerlethality <lethality@anope.org>2012-06-26 02:01:01 +0100
commitf27560cc1ed039932e870ab67af5ed7515ed55ac (patch)
treec54cbb3c0185967325b78c2faa0d3a0bf6e49255
parentd8a99d619f7ae301ecf188dc460b1f5c7cb791ac (diff)
parent4b309b5044bf492a817098ee030fc5fb69650032 (diff)
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
-rw-r--r--src/users.cpp3
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);
}