Fix more IAuth bugs and add IAUTH log target.
[ircu2.10.12-pk.git] / ircd / ircd_log.c
index 008ab3bdd29e1728815403417156dd3950da58f5..6251842b761c509c273280184c65e3fa98145cb7 100644 (file)
@@ -162,8 +162,8 @@ static struct LogDesc {
   S(OPER, -1, SNO_OLDREALOP),
   S(RESOLVER, -1, 0),
   S(SOCKET, -1, 0),
+  S(IAUTH, -1, SNO_NETWORK),
   S(DEBUG, -1, SNO_DEBUG),
-  S(OLDLOG, -1, 0),
 #undef S
   { LS_LAST_SYSTEM, 0, 0, -1, 0, -1, 0 }
 };
@@ -829,7 +829,7 @@ log_get_snomask(const char *subsys)
   return log_sno_name(desc->snomask);
 }
 
-/** Set the verbosity level for a subystem.
+/** Set the verbosity level for a subsystem.
  * @param[in] subsys Subsystem name.
  * @param[in] level Minimum log level.
  * @return Zero on success; non-zero on error.