Mercurial Hosting > luan
diff src/luan/modules/lucene/Lucene.luan @ 1133:ba4daf107e07
fix security bug
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 17 Jan 2018 20:59:42 -0700 |
parents | 3234a14bb1f8 |
children | e54ae41e9501 |
line wrap: on
line diff
--- a/src/luan/modules/lucene/Lucene.luan Tue Jan 02 21:30:41 2018 -0700 +++ b/src/luan/modules/lucene/Lucene.luan Wed Jan 17 20:59:42 2018 -0700 @@ -146,7 +146,7 @@ error "multiple lucene instances" end - if Rpc.functions.backup == nil then + if Rpc.functions.lucene_backup == nil then function Rpc.functions.lucene_backup(password) Io.password == password or error "wrong password"