Warn when using -x with a non-DEBUGMODE ircd.
[ircu2.10.12-pk.git] / ircd / ircd.c
index 006263b8f55eab5547162a1d2c47ebc553be07d8..0954a6157b9ff9eae9d10b546a3c0710077242c1 100644 (file)
@@ -508,6 +508,9 @@ static void parse_command_line(int argc, char** argv) {
        debuglevel = 0;
       debugmode = optarg;
       thisServer.bootopt |= BOOT_DEBUG;
+#ifndef DEBUGMODE
+      printf("WARNING: DEBUGMODE disabled; -x has no effect.\n");
+#endif
       break;
 
     default: