Small string cosmetics

This commit is contained in:
Sascha L. Teichmann 2014-09-07 17:29:42 +02:00
parent 13bb251f35
commit 4bd6a7d69b
2 changed files with 2 additions and 2 deletions

2
README
View File

@ -26,7 +26,7 @@ and offer a TCP Redis interface a Minetest server and other
processes can connect with. processes can connect with.
Beware! This is _not_ a fully featured Redis server with all of its commands. Beware! This is _not_ a fully featured Redis server with all of its commands.
Only the subset of Redis commands is implemented which is needed to run Minetes Only the subset of Redis commands is implemented which is needed to run Minetest
on top of it. on top of it.
To build mtredisalize a Go 1.x (x >= 1) environment is needed. By now To build mtredisalize a Go 1.x (x >= 1) environment is needed. By now

View File

@ -229,7 +229,7 @@ func (rce *RedisCommandExecutor) execute() bool {
second, ok3 := rce.args[3].([]byte) second, ok3 := rce.args[3].([]byte)
if !ok1 || !ok2 || !ok3 { if !ok1 || !ok2 || !ok3 {
log.Println("WARN: HSET data are not byte slices.") log.Println("WARN: HSPATIAL data are not byte slices.")
return false return false
} }
return rce.commands.HSpatial(hash, first, second) return rce.commands.HSpatial(hash, first, second)