This reverts commit 72c41026501f8bb73f38c4a84dca48fe7e5557d6. This breaks the GCC build as it thinks params are unused. Conflicts: doc/UPDATES.md
@@ -335,7 +335,6 @@ void putlog(int type, const char *chname, const char *format, ...)
}
-#if 0
void
irc_log(struct chanset_t *chan, const char *format, ...)
{
@@ -363,5 +362,4 @@ irc_log(struct chanset_t *chan, const char *format, ...)
*/
#endif
-#endif
/* vim: set sts=2 sw=2 ts=8 et: */
@@ -33,11 +33,7 @@ void putlog (int, const char *, const char *, ...) __attribute__((format(printf,
int logmodes(const char *);
char *masktype(int);
char *maskname(int);
void irc_log(struct chanset_t *, const char *, ...) __attribute__((format(printf, 2, 3)));
-#else
-#define irc_log(...)
void logfile(int type, const char *msg);
extern int conmask;