From 478f485d4ec82ad9ca1603a6fd43692c25c39fdd Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Thu, 7 Jan 2010 18:38:46 +0100 Subject: [PATCH] + --- place/babeldos.i | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/place/babeldos.i b/place/babeldos.i index ad6d649..c09e14a 100644 --- a/place/babeldos.i +++ b/place/babeldos.i @@ -48,14 +48,17 @@ disconnected() { P0(("%O received %O bytes of buffer for %O\n", ME, sizeof(buffer), current)) switch (pointerp(current) ? current[0] : "") { case TRANSLATION: + // can you believe, some people want this in their + // psyc clients ;))) + current[4]["_data_original"] = current[3]; if (sscanf(buffer, FMT, k)) krank = k; - else krank = "und es geschah ihr als sei es von der ferne"; + else krank = current[3]; #ifdef TRANSLATION2 babel(TRANSLATION2, current[1], current[2], krank, current[4]); break; case TRANSLATION2: if (sscanf(buffer, FMT, k)) krank = k; - else krank = "und sie sah fern als sei es ein geschehen"; + else krank = current[3]; #endif ::msg(current[1], current[2], replace(krank, """, "\""), current[4]); default: