From 3e52f21044fcc8f2513cbd6a2cad6f481188ae49 Mon Sep 17 00:00:00 2001 From: special Date: Mon, 4 Dec 2006 10:37:55 +0000 Subject: [PATCH] Reverted the addition of ./inspircd version; I should've considered this a bit more, its flawed in several ways git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5840 e03df62e-2008-0410-955e-edbf42e46eb7 --- .inspircd.inc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.inspircd.inc b/.inspircd.inc index 661df8eb9..d1ea383a3 100644 --- a/.inspircd.inc +++ b/.inspircd.inc @@ -67,12 +67,6 @@ if ($arg eq "restart") { exit(); } -if ($arg eq "version") { - system("sh src/version.sh"); - system("svn info | grep Revision"); - exit(); -} - if ($arg eq "Cheese-Sandwich") { print "Creating Cheese Sandwich..\n"; print "Done.\n"; @@ -83,7 +77,7 @@ if ($arg eq "Cheese-Sandwich") { # If we get here.. bad / no parameters. ### print "Invalid Argument: $arg\n"; -print "Usage: inspircd (start|stop|restart|rehash|status|cron|version)\n"; +print "Usage: inspircd (start|stop|restart|rehash|status|cron)\n"; exit(); ### -- 2.39.5