]>
Commit | Line | Data |
---|---|---|
12f43ebf AM |
1 | --- eggdrop-1.8.3/src/mod/megahal.mod/megahal.c.org 2018-09-23 12:27:07.121843921 +0200 |
2 | +++ eggdrop-1.8.3/src/mod/megahal.mod/megahal.c 2018-09-23 12:27:39.979508041 +0200 | |
3 | @@ -291,13 +291,13 @@ static void strip_mirc_codes(int flags, | |
4 | } | |
5 | break; | |
6 | case 0x16: /* Reverse video */ | |
7 | - if (flags & STRIP_REV) { | |
8 | + if (flags & STRIP_REVERSE) { | |
9 | text++; | |
10 | continue; | |
11 | } | |
12 | break; | |
13 | case 0x1f: /* Underlined text */ | |
14 | - if (flags & STRIP_UNDER) { | |
15 | + if (flags & STRIP_UNDERLINE) { | |
16 | text++; | |
17 | continue; | |
18 | } | |
19 | @@ -336,7 +336,7 @@ static void do_megahal(int idx, char *pr | |
a7089fbc | 20 | |
12f43ebf AM |
21 | strcpy(buff, text); |
22 | text = buff; | |
23 | - strip_mirc_codes(STRIP_BOLD | STRIP_REV | STRIP_UNDER | STRIP_COLOR, text); | |
24 | + strip_mirc_codes(STRIP_BOLD | STRIP_REVERSE | STRIP_UNDERLINE | STRIP_COLOR, text); | |
25 | ||
26 | putlog(LOG_DEBUG, "*", "MegaHAL: learning: %s", text); | |
a7089fbc | 27 |