Make IAuth protocol work again and add a bit of debugging to it.
[ircu2.10.12-pk.git] / ircd / ircd_parser.y
index 3aa0afcad9c8b6fc5218b5eac54e0a0a7d8eae74..608d518a4c635d79f06fdb41a4a9c5181bef50dd 100644 (file)
@@ -999,7 +999,7 @@ iauthblock: IAUTH '{'
   tping = 60;
 } iauthitems '}' ';'
 {
-  if (!name || !host || !port) {
+  if (!host || !port) {
     log_write(LS_CONFIG, L_ERROR, 0, "IAuth block needs a server name and port.");
     return 0;
   }