From: <wel...@us...> - 2010-01-01 15:38:57
|
Revision: 5127 http://planeshift.svn.sourceforge.net/planeshift/?rev=5127&view=rev Author: weltall2 Date: 2010-01-01 15:38:49 +0000 (Fri, 01 Jan 2010) Log Message: ----------- fixed guild banking Modified Paths: -------------- trunk/src/server/bankmanager.cpp Modified: trunk/src/server/bankmanager.cpp =================================================================== --- trunk/src/server/bankmanager.cpp 2010-01-01 15:10:43 UTC (rev 5126) +++ trunk/src/server/bankmanager.cpp 2010-01-01 15:38:49 UTC (rev 5127) @@ -629,7 +629,7 @@ // Check if the player has the permission to use the bank account of his guild. if(guild && !pschar->GetGuildMembership()->HasRights(RIGHTS_USE_BANK)) { - psserver->SendSystemError(client->GetClientNum(), "You cannot access your guild bank account without being the leader of your guild!"); + psserver->SendSystemError(client->GetClientNum(), "You cannot access your guild bank account without having the permission to use the account of your guild!"); return; } @@ -706,9 +706,9 @@ } // Check if the player has the permission to use the bank account of his guild. - if(msg.guild && client->GetCharacterData()->GetGuildMembership()->HasRights(RIGHTS_USE_BANK)) + if(msg.guild && !client->GetCharacterData()->GetGuildMembership()->HasRights(RIGHTS_USE_BANK)) { - psserver->SendSystemError(client->GetClientNum(), "You cannot access your guild bank account without being the leader of your guild!"); + psserver->SendSystemError(client->GetClientNum(), "You cannot access your guild bank account without having the permission to use the account of your guild!"); return; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |