summaryrefslogtreecommitdiff
path: root/irc/dancer-ircd/files/patch-irc_string.c
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-04-19 12:01:34 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-04-19 12:01:34 +0000
commit778a627a7c54f2c4d3205264df36fce7f4bed48c (patch)
tree94e10afb684d0ecff351b9a75f6257518421bc48 /irc/dancer-ircd/files/patch-irc_string.c
parentgetpw*_r is now implemented in -CURRENT. However, the _SC_GETPW_R_SIZE_MAX (diff)
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.
Notes
Notes: svn path=/head/; revision=79271
Diffstat (limited to 'irc/dancer-ircd/files/patch-irc_string.c')
-rw-r--r--irc/dancer-ircd/files/patch-irc_string.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/irc/dancer-ircd/files/patch-irc_string.c b/irc/dancer-ircd/files/patch-irc_string.c
new file mode 100644
index 000000000000..54c0cf5e44f6
--- /dev/null
+++ b/irc/dancer-ircd/files/patch-irc_string.c
@@ -0,0 +1,21 @@
+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;
+ }
+