diff options
Diffstat (limited to '.inspircd.inc')
-rw-r--r-- | .inspircd.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.inspircd.inc b/.inspircd.inc index d1ea383a3..661df8eb9 100644 --- a/.inspircd.inc +++ b/.inspircd.inc @@ -67,6 +67,12 @@ 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"; @@ -77,7 +83,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)\n"; +print "Usage: inspircd (start|stop|restart|rehash|status|cron|version)\n"; exit(); ### |