about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--litterbox.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/litterbox.c b/litterbox.c
index f219d37..a7c0e30 100644
--- a/litterbox.c
+++ b/litterbox.c
@@ -318,7 +318,10 @@ static void querySearch(struct Message *msg) {
 		if (!message) message = "";
 		if (!strcmp(user, "*")) user = nick;
 
-		format("NOTICE %s :(%s) [%s] ", msg->nick, context, time);
+		format(
+			"NOTICE %s :\3%02d%s\3: [%s] ",
+			msg->nick, color(context), context, time
+		);
 		switch (type) {
 			break; case Privmsg:
 				format("\3%d<%s>\3 %s\r\n", color(user), nick, message);