summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index cf5c0fb19..aae2a75a2 100755
--- a/configure
+++ b/configure
@@ -12,6 +12,11 @@
#
########################################
+if (!$>) {
+ print "Cannot configure/build InspIRCd as root.\n";
+ exit(666);
+}
+
chomp($topdir = `pwd`);
$this = resolve_directory($topdir); # PWD, Regardless.
@modlist = (); # Declare for Module List..