[MIRROR] Fix inverted if operand in discord accountlink (#2588)

* Fix inverted if operand in discord accountlink (#56029)

* Fix inverted if operand in discord accountlink

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
This commit is contained in:
SkyratBot
2021-01-09 13:51:35 +00:00
committed by GitHub
co-authored by Kyle Spier-Swenson
parent f7bf0ef171
commit ef60ebcc2b
+1 -1
View File
@@ -14,7 +14,7 @@
if(!prefix)
to_chat(src, "<span class='warning'>This feature is disabled.</span>")
if(!SSdiscord && !SSdiscord.reverify_cache)
if(!SSdiscord || !SSdiscord.reverify_cache)
to_chat(src, "<span class='warning'>Wait for the Discord subsystem to finish initialising</span>")
return
var/message = ""