Showing
1 changed file
with
1 additions
and
0 deletions
... | ... | @@ -386,6 +386,7 @@ function _M:part(channel) |
386 | 386 | end |
387 | 387 | |
388 | 388 | function _M:saveChannels() |
389 | + if type(game) ~= "table" then return end | |
389 | 390 | local l = { |
390 | 391 | "chat.channels = chat.channels or {}", |
391 | 392 | "chat.channels["..string.format("%q", game.__mod_info.short_name).."]={}" | ... | ... |
-
Please register or login to post a comment