summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win/configure.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/win/configure.cpp b/win/configure.cpp
index ba9f91178..569ef70f9 100644
--- a/win/configure.cpp
+++ b/win/configure.cpp
@@ -194,6 +194,14 @@ void Run()
int revision = get_svn_revision(revision_text, MAX_PATH);
char version[514];
+
+ FILE * j = fopen("inspircd_config.h", "r");
+ if (j)
+ {
+ fclose(j);
+ exit(0);
+ }
+
// grab version
FILE * fI = fopen("..\\src\\version.sh", "r");
if(fI)