mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
LINT fix & check all files with clang-format
Seems the diff mode doesn't work well, PR are detected as working whereas in master it's shown it's problematic (and really problematic). Use same check everywhere
This commit is contained in:
parent
39f4a2f607
commit
05309229b8
2 changed files with 2 additions and 8 deletions
|
@ -88,7 +88,7 @@ int ModApiClient::l_display_chat_message(lua_State *L)
|
|||
// send_chat_message(message)
|
||||
int ModApiClient::l_send_chat_message(lua_State *L)
|
||||
{
|
||||
if (!lua_isstring(L,1))
|
||||
if (!lua_isstring(L, 1))
|
||||
return 0;
|
||||
std::string message = luaL_checkstring(L, 1);
|
||||
getClient(L)->sendChatMessage(utf8_to_wide(message));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue