Merge pull request #4615 from Krausus/DBConnSpamFix

Fixes Excessive Database Reconnections
This commit is contained in:
TheDZD
2016-06-07 09:00:03 -04:00
+1 -1
View File
@@ -316,7 +316,7 @@
send_resources()
if(prefs.lastchangelog != changelog_hash) //bolds the changelog button on the interface so we know there are updates. -CP
if(!setup_database_connection())
if(!establish_db_connection())
return // if we have db problems, don't show anything
winset(src, "rpane.changelog", "background-color=#f4aa94;font-style=bold")
to_chat(src, "<span class='info'>Changelog has changed since your last visit.</span>")