about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--handle.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/handle.c b/handle.c
index 88c17b7..10bce42 100644
--- a/handle.c
+++ b/handle.c
@@ -228,14 +228,11 @@ static void handlePrivmsg(char *prefix, char *params) {
 	if (mesg[0] == '\1') {
 		strsep(&mesg, " ");
 		char *action = strsep(&mesg, "\1");
-		uiFmt(
-			"* \3%d%s\3%s %s",
-			color(user), nick, (self ? "15" : ""), action
-		);
+		uiFmt("* \3%d%s\3 %s", color(user), nick, action);
 	} else {
 		uiFmt(
-			"<%s\3%d%s\17>\3%s %s",
-			(ping ? "\26" : ""), color(user), nick, (self ? "15" : ""), mesg
+			"%c%c\3%d%s\17%c %s",
+			self["<["], ping["\17\26"], color(user), nick, self[">]"], mesg
 		);
 	}
 }
amp;id=4b0ab841546a4341b23fa5270c2fb37c5f6cf302&follow=1'>build: Remove added x509_verify.3 links 3.3.2June McEnroe 2021-04-18tls: Use EC_KEY_set_ex_dataJune McEnroe 2021-04-18Import LibreSSL 3.3.2June McEnroe 2021-03-05Bump version to 3.3.1p1 3.3.1p1June McEnroe 2021-03-05build: Add OpenSSL includes to libcompatJune McEnroe 2020-12-15Import LibreSSL 3.3.1June McEnroe 2020-11-24Import LibreSSL 3.3.0June McEnroe 2020-10-22Import LibreSSL 3.2.2June McEnroe 2020-09-29Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe