Fix getType => getMode
Merge branch 'master' of github.com:islog/liblogicalaccess