about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-20 03:44:57 -0500
committerJune McEnroe <june@causal.agency>2020-02-20 03:44:57 -0500
commita3b6d5d9a7741b5d00b71ef669b81c7d928f14ea (patch)
tree27101e494fb9c9dc1827aa576116853cd3ddb344
parentRearrange some handlers (diff)
downloadcatgirl-a3b6d5d9a7741b5d00b71ef669b81c7d928f14ea.tar.gz
catgirl-a3b6d5d9a7741b5d00b71ef669b81c7d928f14ea.zip
Change ban list formatting
-rw-r--r--handle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/handle.c b/handle.c
index ed70ce8..7dfd85a 100644
--- a/handle.c
+++ b/handle.c
@@ -511,15 +511,15 @@ static void handleReplyBanList(struct Message *msg) {
 		strftime(since, sizeof(since), "%F %T", localtime(&time));
 		uiFormat(
 			id, Cold, tagTime(msg),
-			"Banned in \3%02d%s\3 by \3%02d%s\3 since %s: %s",
+			"Banned from \3%02d%s\3 since %s by \3%02d%s\3: %s",
 			hash(msg->params[1]), msg->params[1],
-			completeColor(id, msg->params[3]), msg->params[3], since,
+			since, completeColor(id, msg->params[3]), msg->params[3],
 			msg->params[2]
 		);
 	} else {
 		uiFormat(
 			id, Cold, tagTime(msg),
-			"Banned in \3%02d%s\3: %s",
+			"Banned from \3%02d%s\3: %s",
 			hash(msg->params[1]), msg->params[1], msg->params[2]
 		);
 	}
'2019-07-12 18:41:04 -0400'>2019-07-12Support insert mode in shottyJune McEnroe This is how curses puts characters into the bottom-right cell of the terminal. 2019-07-11Don't do carriage return on line feedJune McEnroe 2019-07-11Interpret 256color-style SGRsJune McEnroe 2019-07-11Use inline style rather than <b>, <i>, <u>June McEnroe 2019-07-11Factor out clearJune McEnroe 2019-07-11Add bright option to shottyJune McEnroe 2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe 2019-07-10Ignore SM and RMJune McEnroe 2019-07-09Add shotty man page and build itJune McEnroe 2019-07-09Add up -cJune McEnroe 2019-07-09Add options for default colors to shottyJune McEnroe 2019-07-08Use char literals consistentlyJune McEnroe