about summary refs log tree commit diff
path: root/handle.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--handle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/handle.c b/handle.c
index 68bc344..54f2436 100644
--- a/handle.c
+++ b/handle.c
@@ -219,7 +219,7 @@ static void handleAuthenticate(struct Message *msg) {
 	char b64[BASE64_SIZE(sizeof(buf))];
 	base64(b64, buf, len);
 	ircFormat("AUTHENTICATE ");
-	ircSend(b64, BASE64_SIZE(len));
+	ircSend(b64, BASE64_SIZE(len) - 1);
 	ircFormat("\r\n");
 
 	explicit_bzero(b64, sizeof(b64));
@@ -1148,6 +1148,7 @@ static void handleReplyAway(struct Message *msg) {
 		id = idFor(msg->params[1]);
 	}
 	uiFormat(
+		id, (id == Network ? Warm : Cold), tagTime(msg),
 		id, Warm, tagTime(msg),
 		"jan \3%02d%s\3\tli weka tan ni: %s",
 		completeColor(id, msg->params[1]), msg->params[1], msg->params[2]