Explorar o código

* Last commit was missing this...
* More CYGWIN hacks
conf.txt is the conf, cleartext, just has botnames.


svn: 852

Bryan Drewery %!s(int64=22) %!d(string=hai) anos
pai
achega
6a5426e464
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/conf.c

+ 1 - 1
src/conf.c

@@ -631,11 +631,11 @@ int writeconf(char *filename, FILE *stream, int bits) {
 
 
   comment("");
   comment("");
 
 
-#endif /* CYGWIN_HACKS */
   comment("# '|' means OR, [] means the enclosed is optional");
   comment("# '|' means OR, [] means the enclosed is optional");
   comment("# A '+' in front of HOST means the HOST is ipv6");
   comment("# A '+' in front of HOST means the HOST is ipv6");
   comment("# A '/' in front of BOT will disable that bot.");
   comment("# A '/' in front of BOT will disable that bot.");
   comment("#[/]BOT IP|. [+]HOST|. [IPV6-IP]");
   comment("#[/]BOT IP|. [+]HOST|. [IPV6-IP]");
+#endif /* CYGWIN_HACKS */
   for (bot = conffile.bots; bot && bot->nick; bot = bot->next) {
   for (bot = conffile.bots; bot && bot->nick; bot = bot->next) {
     my_write(f, "%s %s %s%s %s\n", bot->nick,
     my_write(f, "%s %s %s%s %s\n", bot->nick,
                                    bot->ip ? bot->ip : ".",
                                    bot->ip ? bot->ip : ".",