about summary refs log tree commit diff
path: root/irc.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--irc.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/irc.c b/irc.c
index 0a131b2..fa858b4 100644
--- a/irc.c
+++ b/irc.c
@@ -106,7 +106,12 @@ void ircFmt(const char *format, ...) {
 	int len = vasprintf(&buf, format, ap);
 	va_end(ap);
 	if (!buf) err(EX_OSERR, "vasprintf");
-	if (self.verbose) uiFmt(TAG_VERBOSE, "\3%d<<<\3 %.*s", IRC_WHITE, len - 2, buf);
+	if (self.verbose) {
+		uiFmt(
+			TAG_VERBOSE, UI_COLD,
+			"\3%d<<<\3 %.*s", IRC_WHITE, len - 2, buf
+		);
+	}
 	ircWrite(buf, len);
 	free(buf);
 }
@@ -126,7 +131,12 @@ void ircRead(void) {
 	char *crlf, *line = buf;
 	while ((crlf = strnstr(line, "\r\n", &buf[len] - line))) {
 		crlf[0] = '\0';
-		if (self.verbose) uiFmt(TAG_VERBOSE, "\3%d>>>\3 %s", IRC_GRAY, line);
+		if (self.verbose) {
+			uiFmt(
+				TAG_VERBOSE, UI_COLD,
+				"\3%d>>>\3 %s", IRC_GRAY, line
+			);
+		}
 		handle(line);
 		line = &crlf[2];
 	}