convert slashes to , rather than _ in channel names. , is not allowed by the RFC, _ is.
This commit is contained in:
parent
a5a7d1b376
commit
aed65ee703
3
CHANGES
3
CHANGES
@ -4,6 +4,9 @@
|
|||||||
expose the password in the process list.
|
expose the password in the process list.
|
||||||
- Fix parsing of JOIN messages for certain servers.
|
- Fix parsing of JOIN messages for certain servers.
|
||||||
Thanks Ivan Kanakarakis!
|
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):
|
1.6 (2011-01-31):
|
||||||
- fix regression introduced for handling unknown commands
|
- fix regression introduced for handling unknown commands
|
||||||
|
2
ii.c
2
ii.c
@ -52,7 +52,7 @@ static void usage() {
|
|||||||
static char *striplower(char *s) {
|
static char *striplower(char *s) {
|
||||||
char *p = NULL;
|
char *p = NULL;
|
||||||
for(p = s; p && *p; p++) {
|
for(p = s; p && *p; p++) {
|
||||||
if(*p == '/') *p = '_';
|
if(*p == '/') *p = ',';
|
||||||
*p = tolower(*p);
|
*p = tolower(*p);
|
||||||
}
|
}
|
||||||
return s;
|
return s;
|
||||||
|
Loading…
Reference in New Issue
Block a user