Merge pull request #92 from Petethegoat/DB_cleanup

Database & config cleanup
This commit is contained in:
Giacomand
2013-03-28 10:13:06 -07:00
16 changed files with 582 additions and 702 deletions
+3 -9
View File
@@ -1,11 +1,5 @@
/*
* This datum gets revision info from local svn 'entries' file
* Path to the directory containing it should be in 'config/svndir.txt' file
*
*/
var/global/datum/getrev/revdata = new()
//Oh yeah, I'm an OOP fag, lalala
/datum/getrev
var/project_href
var/revision
@@ -23,15 +17,15 @@ var/global/datum/getrev/revdata = new()
if(last_entry.len < 2) continue
revision = last_entry[2]
break
showinfo = "<b>Server Revision:</b> "
if(revision)
showinfo += "<a href='[project_href]/commit/[revision]'>[revision]</a>"
else
showinfo += "*unknown*"
showinfo += "<p>-<a href='[project_href]/issues/new'>Report Bugs Here-</a><br><i>Please provide as much info as possible<br>Copy/paste the revision hash into your issue report if possible, thanks</i> :)</p>"
world.log << "Running TG Revision Number: [revision]."
world.log << "Running /tg/ revision number: [revision]."
return
client/verb/showrevinfo()
+1 -1
View File
@@ -625,7 +625,7 @@ datum/mind
if(src in ticker.mode.wizards)
ticker.mode.wizards -= src
special_role = null
current.spellremove(current, config.feature_object_spell_system? "object":"verb")
current.spellremove(current)
current << "\red <FONT size = 3><B>You have been brainwashed! You are no longer a wizard!</B></FONT>"
log_admin("[key_name_admin(usr)] has de-wizard'ed [current].")
if("wizard")