[hackers] [ii] convert slashes to , rather than _ in channel names. , is not allowed by the RFC, _ is. || Nico Golde
changeset: 98:6904ea7d4f38
tag: tip
user: Nico Golde <nion_AT_suckless.org>
date: Tue Jul 03 17:43:56 2012 +0200
files: CHANGES ii.c
description:
convert slashes to , rather than _ in channel names. , is not allowed by the RFC, _ is.
diff -r 2fd831556669 -r 6904ea7d4f38 CHANGES
--- a/CHANGES Thu Jun 28 15:41:57 2012 +0200
+++ b/CHANGES Tue Jul 03 17:43:56 2012 +0200
_AT_@ -4,6 +4,9 @@
expose the password in the process list.
- Fix parsing of JOIN messages for certain servers.
Thanks Ivan Kanakarakis!
+ - Use , rather than _ for slash characters in channel names.
+ As per RFC , is not allowed in a channel name, while _ is.
+ Thanks plomplomplom and Nils Dagsson Moskopp!
1.6 (2011-01-31):
- fix regression introduced for handling unknown commands
diff -r 2fd831556669 -r 6904ea7d4f38 ii.c
--- a/ii.c Thu Jun 28 15:41:57 2012 +0200
+++ b/ii.c Tue Jul 03 17:43:56 2012 +0200
_AT_@ -52,7 +52,7 @@
static char *striplower(char *s) {
char *p = NULL;
for(p = s; p && *p; p++) {
- if(*p == '/') *p = '_';
+ if(*p == '/') *p = ',';
*p = tolower(*p);
}
return s;
Received on Tue Jul 03 2012 - 17:44:10 CEST
This archive was generated by hypermail 2.3.0
: Tue Jul 03 2012 - 17:48:16 CEST