Through DB you can now disable password changing by non-gm's simply by changing m_public to 0. Make channels public by default.

--HG--
branch : trunk
This commit is contained in:
p0wer committed 2010-02-23 21:09:55 -06:00
1 parent 50e878acba
commit 98b72c5299
6 files changed
+21 -7

No files matched your search

+1 -1
View File
@@ -8587,7 +8587,7 @@ bool ObjectMgr::IsVendorItemValid( uint32 vendor_entry, uint32 item_id, int32 ma
return false;
}
if(vItems->GetItemCount() > MAX_VENDOR_ITEMS)
if(vItems->GetItemCount() >= MAX_VENDOR_ITEMS)
{
if(pl)
ChatHandler(pl).SendSysMessage(LANG_COMMAND_ADDVENDORITEMITEMS);