aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-05-22 07:28:35 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-05-22 07:28:35 +0200
commit05309229b847ea4f289328890176d22c4655348b (patch)
tree0f56abcd32228adf0df9e42e9764decf40f845fa /src
parent39f4a2f607d44738d60db84eba4b30e3d7450204 (diff)
downloadminetest-05309229b847ea4f289328890176d22c4655348b.tar.gz
minetest-05309229b847ea4f289328890176d22c4655348b.tar.bz2
minetest-05309229b847ea4f289328890176d22c4655348b.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/script/lua_api/l_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_client.cpp b/src/script/lua_api/l_client.cpp
index 0b7450af2..3c2955bcd 100644
--- a/src/script/lua_api/l_client.cpp
+++ b/src/script/lua_api/l_client.cpp
@@ -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));