1
0

Removed deprecated HasCommand function

This commit is contained in:
STRWarrior
2014-02-05 20:20:11 +01:00
parent d6142b53f3
commit 89ec774fd6
4 changed files with 1 additions and 36 deletions

View File

@@ -1267,19 +1267,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())