Follow up to r17201.
Fixed a small logic issue.
Related to: bugreport:7377

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17202 54d463be-8e91-2dee-dedb-b68131a5f0ec