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]
 		);
 	}