]> PatchyGit - patchyircd.git/commitdiff
actually remove config.h
authorEgor <egor@patchysicp.xyz>
Thu, 27 Mar 2025 08:10:11 +0000 (10:10 +0200)
committerEgor <egor@patchysicp.xyz>
Thu, 27 Mar 2025 08:11:41 +0000 (10:11 +0200)
Makefile
src/common.h
src/config.h [deleted file]
src/util.cpp

index 39d2f40..ca16565 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,6 @@ SOURCES := \
        src/crypt_blowfish.cpp
 HEADERS := \
        src/common.h     \
-       src/config.h     \
        src/admin.h      \
        src/irc.h        \
        src/ircfmt.h     \
index 43288ea..c5ec57a 100644 (file)
@@ -2,7 +2,6 @@
 #define COMMON_H_
 #include "netsock.h"
 #include "netpoll.h"
-#include "config.h"
 #include "map.h"
 #include <time.h>
 #ifdef HAS_TLS
diff --git a/src/config.h b/src/config.h
deleted file mode 100644 (file)
index 6f45e27..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef ADMINLOC1
-#define ADMINLOC1 "Location 1"
-#endif
-#ifndef ADMINLOC2
-#define ADMINLOC2 "Location 2"
-#endif
-#ifndef ADMINEMAIL
-#define ADMINEMAIL "admin@example.com"
-#endif
index e0fa342..2441f03 100644 (file)
@@ -1,5 +1,4 @@
 #include "util.h"
-#include "config.h"
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>