summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 26d4c29c0..b115137ea 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -46,7 +46,6 @@ bool nothird = false; /* -nothrid */
bool noexpire = false; /* -noexpire */
bool protocoldebug = false; /* -protocoldebug */
Anope::string binary_dir; /* Used to store base path for Anope */
-static int return_code = 0;
#ifdef _WIN32
# include <process.h>
@@ -55,6 +54,7 @@ static int return_code = 0;
/* Set to 1 if we are to quit */
bool quitting = false;
+int return_code = 0;
/* Set to true if we are restarting */
bool restarting = false;