aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectMgr.cpp
diff options
context:
space:
mode:
authorp0wer <none@none>2010-02-23 21:09:55 -0600
committerp0wer <none@none>2010-02-23 21:09:55 -0600
commit98b72c52994b4b0f31a2b135850f87f59c523411 (patch)
tree39c5f8575c90fe77b9f381629bdc89ce56454024 /src/game/ObjectMgr.cpp
parent50e878acba2a92d8193cfcef3dceadf16c370a9d (diff)
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
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r--src/game/ObjectMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp
index 898c20b5c42..cdc267ad1bd 100644
--- a/src/game/ObjectMgr.cpp
+++ b/src/game/ObjectMgr.cpp
@@ -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);