Browse Source

* Fixed binary data parsing to strip trailing spaces for entries.

svn: 2362
Bryan Drewery 21 years ago
parent
commit
775465daa3
2 changed files with 3 additions and 0 deletions
  1. 1 0
      doc/UPDATES
  2. 2 0
      src/conf.c

+ 1 - 0
doc/UPDATES

@@ -31,6 +31,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * Fixed bots not correctly recognizing changes in botset to empty vars after restart/update. (#150)
 * Disabled chanset flags '+/-revenge' and '+/-revengebot' as they are 100% incompatable/untouched egg code.
 * Fixed an issue with cmd_pls_host not adding all hosts given, and 'hostmask already there' now displays WHICH host. (#153)
+* Fixed binary data parsing to strip trailing spaces for entries.
 
 1.2.6
 * (REVERTED FROM 1.2.3) Disabled all memory allocations after a segfault (Fixes CPU spinning)

+ 2 - 0
src/conf.c

@@ -641,6 +641,8 @@ readconf(const char *fname, int bits)
 
     i++;
 
+    rmspace(line);
+
     sdprintf("CONF LINE: %s", line);
 // !strchr("_`|}][{*/#-+!abcdefghijklmnopqrstuvwxyzABDEFGHIJKLMNOPWRSTUVWXYZ", line[0])) {
     if (enc && line[0] > '~') {