summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp
index fc509ee0a..452d84706 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -346,9 +346,9 @@ void User::SendMessage(BotInfo *source, const Anope::string &msg)
for (Anope::string tok; sep.GetToken(tok);)
{
if (send_privmsg)
- IRCD->SendPrivmsg(source, this->GetUID(), "%s", tok.c_str());
+ IRCD->SendPrivmsgInternal(source, this->GetUID(), tok);
else
- IRCD->SendNotice(source, this->GetUID(), "%s", tok.c_str());
+ IRCD->SendNoticeInternal(source, this->GetUID(), tok);
}
}