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