1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 19:23:13 +02:00

-- Fixed one of codemastr's wonderful coding bugs. *slap slap slap*

+- Fixed windows CRLF problem in conf2, reported by Zogg
This commit is contained in:
stskeeps
2001-02-27 19:40:52 +00:00
parent 09fc76ed53
commit 2ed9fead6d
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -261,4 +261,4 @@
removed inittoken, made command initalization happen in init_CommandHash
- Adapted /stats M to it. Removed /helpop ?commands temporary. Confirming
hashtable works.
- Fixed one of codemastr's wonderful coding bugs. *slap slap slap*
- Fixed windows CRLF problem in conf2, reported by Zogg
+5
View File
@@ -332,6 +332,11 @@ static ConfigFile *config_parse(char *filename, char *confdata)
lastce = &(curcf->cf_entries);
curce = NULL;
cursection = NULL;
/* Replace \r's with spaces .. ugly ugly -Stskeeps */
for (ptr=confdata; *ptr; ptr++)
if (*ptr == '\r')
*ptr = ' ';
for(ptr=confdata;*ptr;ptr++)
{
switch(*ptr)