Skip to content

Commit

Permalink
Added missing require of log module in socket (#44)
Browse files Browse the repository at this point in the history
* Fix for unknown global log

* Update CHANGELOG.md
  • Loading branch information
britzl authored Apr 25, 2022
1 parent 0d4ad56 commit 63edf4f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]


## [3.0.1] - 2022-04-11
### Fixed
- Runtime error when an unhandled socket message is received (#43)


## [3.0.0] - 2022-04-08
Please note that the Defold SDK version is not synchronised with the version of the Nakama server!

Expand Down
2 changes: 1 addition & 1 deletion codegen/realtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
local b64 = require "nakama.util.b64"
local async = require "nakama.util.async"
local log = require "nakama.util.log"
local function on_socket_message(socket, message)
if message.match_data then
Expand Down
2 changes: 1 addition & 1 deletion nakama/socket.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ local M = {}

local b64 = require "nakama.util.b64"
local async = require "nakama.util.async"

local log = require "nakama.util.log"

local function on_socket_message(socket, message)
if message.match_data then
Expand Down

0 comments on commit 63edf4f

Please sign in to comment.