-Fix chat system not deleting all chan on logout. tid:80999
-Upd @mapinfo to count number of vendors in map
-Upd getrandgroupitem to check if valid itemit returned.
-Cleanup and KR style

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17232 54d463be-8e91-2dee-dedb-b68131a5f0ec
-Follow up r17232 fix wrong index assignement in deleting chan. (issue created in r17232 sorry)
rechange unwanted chande for pincode default value.

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