Sfoglia il codice sorgente

* Default log timestamp now includes seconds

Bryan Drewery 16 anni fa
parent
commit
c90088b56a
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/misc.h

+ 1 - 0
doc/UPDATES

@@ -48,6 +48,7 @@
 * SHELLHASH and Owner passwords in the PackConfig can now be salted-sha1. '+' + RAND(5) + '$' + SHA1(RAND(5) + 'password')
 * Fix restart causing bot to change nick (this was a regression in jupenick)
 * Removed 'chanset +knock' and replaced with 'chanset knock (Op|Voice|User)', see 'help chaninfo'
+* Default log timestamp now includes seconds
 
 1.2.16.1
 * Fix linux compile errors

+ 1 - 1
src/misc.h

@@ -9,7 +9,7 @@
  * Popular times might be "[%H:%M]" (hour, min), or "[%H:%M:%S]" (hour, min, sec)
  * Read `man strftime' for more formatting options.  Keep it below 32 chars.
  */
-#define LOG_TS "[%H:%M]"
+#define LOG_TS "[%H:%M:%S]"
 
 
 void restart(int);