From: <wel...@us...> - 2010-07-12 20:14:44
|
Revision: 6034 http://planeshift.svn.sourceforge.net/planeshift/?rev=6034&view=rev Author: weltall2 Date: 2010-07-12 20:14:35 +0000 (Mon, 12 Jul 2010) Log Message: ----------- made a command actually make what it said Modified Paths: -------------- trunk/src/server/guildmanager.cpp Modified: trunk/src/server/guildmanager.cpp =================================================================== --- trunk/src/server/guildmanager.cpp 2010-07-10 23:57:15 UTC (rev 6033) +++ trunk/src/server/guildmanager.cpp 2010-07-12 20:14:35 UTC (rev 6034) @@ -1804,25 +1804,27 @@ csString permissionText = "Player " + msg.player + " has these permissions: "; if(target->HasRights(RIGHTS_VIEW_CHAT)) permissionText.Append("view_chat "); - if(target->HasRights(RIGHTS_VIEW_CHAT)) + if(target->HasRights(RIGHTS_CHAT)) permissionText.Append("chat "); - if(target->HasRights(RIGHTS_VIEW_CHAT)) + if(target->HasRights(RIGHTS_INVITE)) permissionText.Append("invite "); - if(target->HasRights(RIGHTS_VIEW_CHAT)) + if(target->HasRights(RIGHTS_REMOVE)) permissionText.Append("remove "); - if(target->HasRights(RIGHTS_VIEW_CHAT)) + if(target->HasRights(RIGHTS_PROMOTE)) permissionText.Append("promote "); - if(target->HasRights(RIGHTS_VIEW_CHAT)) + if(target->HasRights(RIGHTS_EDIT_LEVEL)) permissionText.Append("edit_level "); - if(target->HasRights(RIGHTS_VIEW_CHAT)) + if(target->HasRights(RIGHTS_EDIT_POINTS)) permissionText.Append("edit_points "); - if(target->HasRights(RIGHTS_VIEW_CHAT)) + if(target->HasRights(RIGHTS_EDIT_GUILD)) permissionText.Append("edit_public "); - if(target->HasRights(RIGHTS_VIEW_CHAT)) + if(target->HasRights(RIGHTS_EDIT_PRIVATE)) + permissionText.Append("edit_private "); + if(target->HasRights(RIGHTS_VIEW_CHAT_ALLIANCE)) permissionText.Append("alliance_view_chat "); - if(target->HasRights(RIGHTS_VIEW_CHAT)) + if(target->HasRights(RIGHTS_CHAT_ALLIANCE)) permissionText.Append("alliance_chat "); - if(target->HasRights(RIGHTS_VIEW_CHAT)) + if(target->HasRights(RIGHTS_USE_BANK)) permissionText.Append("guild_bank "); psserver->SendSystemInfo(clientnum,permissionText.Trim().GetDataSafe()); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |