ports/irc/dancer-ircd/files/patch-irc_string.c
Akinori MUSHA 778a627a7c Add dancer-ircd, an irc daemon based on hybrid ircd.
This is the ircd designed for use on freenode.net, based on the hybrid
ircd used by efnet.

This port/package is configured for use on a small network or
standalone, and the escape code filter is disabled.  To use it on a
large and/or Western language only network, please re-configure
config.h and rebuild.
2003-04-19 12:01:34 +00:00

21 lines
472 B
C

This patch prevents ircd from stripping topics etc. of escape
characters, which is commonly used by Asian languages.
--- src/irc_string.c.orig Sun Apr 7 08:16:04 2002
+++ src/irc_string.c Tue Apr 15 23:52:28 2003
@@ -131,6 +131,7 @@
char* strip_colour(char* string)
{
+#if 0
char *c = string;
char *c2 = string;
char *last_non_space = c2;
@@ -165,6 +166,7 @@
*c2 = '\0';
if (last_non_space)
*last_non_space = '\0';
+#endif
return string;
}