summaryrefslogtreecommitdiff
path: root/src/send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/send.c')
-rw-r--r--src/send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/send.c b/src/send.c
index 446020f35..0d4c6d4e9 100644
--- a/src/send.c
+++ b/src/send.c
@@ -67,7 +67,7 @@ void send_cmd(const std::string &source, const char *fmt, ...)
if (!source.empty())
{
sockprintf(servsock, ":%s %s\r\n", source.c_str(), buf);
- eventprintf(":%s %s", source, buf);
+ eventprintf(":%s %s", source.c_str(), buf);
if (debug)
alog("debug: Sent: :%s %s", source.c_str(), buf);
}