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, 2 insertions, 0 deletions
diff --git a/src/send.c b/src/send.c
index e30bbd88a..1ea115518 100644
--- a/src/send.c
+++ b/src/send.c
@@ -58,11 +58,13 @@ void vsend_cmd(const char *source, const char *fmt, va_list args)
if (source) {
sockprintf(servsock, ":%s %s\r\n", source, buf);
+ eventprintf(":%s %s", source, buf);
if (debug) {
alog("debug: Sent: :%s %s", source, buf);
}
} else {
sockprintf(servsock, "%s\r\n", buf);
+ eventprintf("%s", buf);
if (debug) {
alog("debug: Sent: %s", buf);
}