diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-30 19:56:54 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-30 19:56:54 +0000 |
commit | 791b56d401c69e32221ba40b8d1114801e96b834 (patch) | |
tree | aeaa390fad42746039c43196aacb5878b936f948 | |
parent | 2080de06813794dc52ee9d0a0809e3411fb9a43b (diff) |
Added check that forbids configuration as root >:-)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2988 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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.. |