mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-23 04:57:17 +01:00
Only expect channels while we can guarantee them
This commit is contained in:
@@ -11,9 +11,10 @@
|
||||
dab()
|
||||
TgsNew(new /datum/tgs_event_handler/impl, TGS_SECURITY_SAFE)
|
||||
|
||||
var/list/channels = TgsChatChannelInfo()
|
||||
if(!length(channels))
|
||||
FailTest("Expected some chat channels!")
|
||||
if(params["expect_chat_channels"])
|
||||
var/list/channels = TgsChatChannelInfo()
|
||||
if(!length(channels))
|
||||
FailTest("Expected some chat channels!")
|
||||
|
||||
StartAsync()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user