diff options
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index eef6b8e69..286d43cf6 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -1261,19 +1261,6 @@ void cPlayer::RemoveFromGroup( const AString & a_GroupName ) -bool cPlayer::CanUseCommand( const AString & a_Command ) -{ - for( GroupList::iterator itr = m_Groups.begin(); itr != m_Groups.end(); ++itr ) - { - if( (*itr)->HasCommand( a_Command ) ) return true; - } - return false; -} - - - - - bool cPlayer::HasPermission(const AString & a_Permission) { if (a_Permission.empty()) |