mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
Merge pull request #72 from Carn/ShowRevision
Disables the code for fetching SVN-revision info until we can get a Git equivalent working. According to carn var/global/datum/getrev/revdata may be useful to us in the future so it can stay for now. Resolves Issue #65
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
var/global/datum/getrev/revdata = new("config/svndir.txt")
|
||||
var/global/datum/getrev/revdata // = new("config/svndir.txt") //commented out until the git revcount stuff is ready
|
||||
|
||||
//Oh yeah, I'm an OOP fag, lalala
|
||||
/datum/getrev
|
||||
@@ -90,11 +90,11 @@ var/global/datum/getrev/revdata = new("config/svndir.txt")
|
||||
client/verb/showrevinfo()
|
||||
set category = "OOC"
|
||||
set name = "Show Server Revision"
|
||||
var/output = "Sorry, the revision info is unavailable."
|
||||
var/output = "Sorry, the revision info is unavailable.<br>"
|
||||
if(revdata)
|
||||
output = revdata.showInfo()
|
||||
|
||||
output += "Current Infomational Settings: <br>"
|
||||
output += "Protect Authority Roles From Tratior: [config.protect_roles_from_antagonist]<br>"
|
||||
output += "Current Infomational Settings: <br>"
|
||||
output += "Protect Authority Roles From Tratior: [config.protect_roles_from_antagonist]<br>"
|
||||
usr << browse(output,"window=revdata");
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user