diff options
author | June McEnroe <june@causal.agency> | 2020-02-20 03:44:57 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-20 03:44:57 -0500 |
commit | a3b6d5d9a7741b5d00b71ef669b81c7d928f14ea (patch) | |
tree | 27101e494fb9c9dc1827aa576116853cd3ddb344 /handle.c | |
parent | Rearrange some handlers (diff) | |
download | test-a3b6d5d9a7741b5d00b71ef669b81c7d928f14ea.tar.gz test-a3b6d5d9a7741b5d00b71ef669b81c7d928f14ea.zip |
Change ban list formatting
Diffstat (limited to '')
-rw-r--r-- | handle.c | 6 |
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] ); } |