about summary refs log tree commit diff
path: root/handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'handle.c')
-rw-r--r--handle.c21
1 files changed, 9 insertions, 12 deletions
diff --git a/handle.c b/handle.c
index aef9038..a7cdcb7 100644
--- a/handle.c
+++ b/handle.c
@@ -821,8 +821,7 @@ static void handleMode(struct Message *msg) {
 		if (*ch == '+') { set = true; continue; }
 		if (*ch == '-') { set = false; continue; }
 
-		const char *verb = (set ? "pana" : "weka");
-		const char *verb_direction = (set ? "tawa" : "tan");
+		const char *verb = (set ? "sets" : "unsets");
 		const char *name = ChanModes[(byte)*ch];
 		if (*ch == network.excepts) name = "awen";
 		if (*ch == network.invex) name = "wile";
@@ -841,12 +840,10 @@ static void handleMode(struct Message *msg) {
 			];
 			uiFormat(
 				id, Cold, tagTime(msg),
-				"jan \3%02d%s\3\tli %s e kule %s%s %s jan \3%02d%c%s\3 %s%s lon tomo \3%02d%s\3",
+				"FIXME \3%02d%s\3\t%s \3%02d%c%s\3 %s%s in \3%02d%s\3",
 				hash(msg->user), msg->nick, verb,
-				mode, name,
-				verb_direction,
 				completeColor(id, nick), prefix, nick,
-				hash(msg->params[0]), msg->params[0]
+				mode, name, hash(msg->params[0]), msg->params[0]
 			);
 			logFormat(
 				id, tagTime(msg), "%s %s %c%s %s%s in %s",
@@ -860,10 +857,10 @@ static void handleMode(struct Message *msg) {
 			}
 			char *mask = msg->params[i++];
 			if (*ch == 'b') {
-				verb = (set ? "weka" : "weka ala");
+				verb = (set ? "bans" : "unbans");
 				uiFormat(
 					id, Cold, tagTime(msg),
-					"jan \3%02d%s\3\tli %s (%c%c) e linja %s lon tomo \3%02d%s\3",
+					"FIXME \3%02d%s\3\t%s %c%c %s from \3%02d%s\3",
 					hash(msg->user), msg->nick, verb, set["-+"], *ch, mask,
 					hash(msg->params[0]), msg->params[0]
 				);
@@ -872,13 +869,13 @@ static void handleMode(struct Message *msg) {
 					msg->nick, verb, set["-+"], *ch, mask, msg->params[0]
 				);
 			} else {
-				verb = (set ? "pana" : "weka");
-				const char *to = (set ? "tawa" : "tan");
+				verb = (set ? "adds" : "removes");
+				const char *to = (set ? "to" : "from");
 				uiFormat(
 					id, Cold, tagTime(msg),
-					"jan \3%02d%s\3\tli %s e linja %s %s lipu %s%s pi tomo \3%02d%s\3",
+					"FIXME \3%02d%s\3\t%s %s %s the \3%02d%s\3 %s%s list",
 					hash(msg->user), msg->nick, verb, mask, to,
-					mode, name, hash(msg->params[0]), msg->params[0]
+					hash(msg->params[0]), msg->params[0], mode, name
 				);
 				logFormat(
 					id, tagTime(msg), "%s %s %s %s the %s %s%s list",