]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - clientmods/chat/init.lua
Fixed broken Chatcommands
[dragonfireclient.git] / clientmods / chat / init.lua
index 5b3ca79711c260ef7114bd6db2fbdfbc79b08e13..4c11e40f989ec2a2dc5cf121bd28eb7f8484a7e4 100644 (file)
@@ -3,7 +3,7 @@ chat = {}
 chat.rainbow = dofile(minetest.get_modpath("chat") .. "/rainbow.lua")
 
 function chat.send(message)
-       local starts_with = message:sub(1,1) == "/"
+       local starts_with = message:sub(1, 1)
        
        if starts_with == "/" or starts_with == "." then return end