summary refs log tree commit diff
diff options
context:
space:
mode:
authorC. McEnroe2020-02-20 03:44:57 -0500
committerC. McEnroe2020-02-20 03:44:57 -0500
commita3b6d5d9a7741b5d00b71ef669b81c7d928f14ea (patch)
tree27101e494fb9c9dc1827aa576116853cd3ddb344
parentb3c5458fc99292064e210999ff44d29d50dd9f87 (diff)
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]
 		);
 	}