1 --- eggdrop/src/language.c 2004-04-06 07:56:38.000000000 +0100
2 +++ eggdrop-patched/src/language.c 2008-09-08 23:24:34.000000000 +0100
5 if (sscanf(lbuf, "0x%x,%500c", &lidx, ltext) != 2) {
7 - putlog(LOG_MISC, "*", "Malformed text line in %s at %d.",
10 + ctmp = strchr(ltext, '\n');
12 + while (ltext[strlen(ltext) - 1] == '\\') {
13 + ltext[strlen(ltext) - 1] = 0;
14 + if (fgets(lbuf, 511, FLANG)) {
16 + ctmp = strchr(lbuf, '\n');
18 + ltext = nrealloc(ltext, strlen(lbuf) + strlen(ltext) + 1);
19 + strcpy(strchr(ltext, 0), lbuf);
24 ctmp = strchr(ltext, '\n');