diff options
author | cheapie <no-email-for-you@example.com> | 2017-03-31 21:10:23 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2017-03-31 21:10:23 -0500 |
commit | 34e7ad0b1ef7886fd325a9acc5b8c3aa3f5fdbd0 (patch) | |
tree | 59cb1aa3f96626f1caf9ee5a9294f1c3d3eae8d0 | |
parent | 55824129bd0db5ec337363618f5bab66148611ab (diff) | |
download | chat6-34e7ad0b1ef7886fd325a9acc5b8c3aa3f5fdbd0.tar chat6-34e7ad0b1ef7886fd325a9acc5b8c3aa3f5fdbd0.tar.gz chat6-34e7ad0b1ef7886fd325a9acc5b8c3aa3f5fdbd0.tar.bz2 chat6-34e7ad0b1ef7886fd325a9acc5b8c3aa3f5fdbd0.tar.xz chat6-34e7ad0b1ef7886fd325a9acc5b8c3aa3f5fdbd0.zip |
Update init.lua
-rw-r--r-- | init.lua | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -47,8 +47,7 @@ minetest.register_on_receiving_chat_messages(function(message) if not user then msgtype = "special" text = message - end - if (user == player_name) or (string.match(user,"^(.*)@") == player_name) then + elseif (user == player_name) or (string.match(user,"^(.*)@") == player_name) then msgtype = "sent_channel" elseif string.find(text,player_name) then msgtype = "highlight_channel" |