updated another file...
This commit is contained in:
parent
b397dc438b
commit
8674c6800f
@ -77,13 +77,13 @@ cGroupManager::cGroupManager()
|
|||||||
LOGD("Loading group: %s", KeyName.c_str() );
|
LOGD("Loading group: %s", KeyName.c_str() );
|
||||||
|
|
||||||
Group->SetName( KeyName );
|
Group->SetName( KeyName );
|
||||||
char Color = IniFile.GetValue( KeyName, "Color", "-" )[0];
|
AString Color = IniFile.GetValue( KeyName, "Color", "-" )[0];
|
||||||
if( Color != '-' )
|
if( Color != '-' )
|
||||||
Group->SetColor( cChatColor::MakeColor(Color) );
|
Group->SetColor( cChatColor::Color + Color );
|
||||||
else
|
else
|
||||||
Group->SetColor( cChatColor::White );
|
Group->SetColor( cChatColor::White );
|
||||||
|
|
||||||
std::string Commands = IniFile.GetValue( KeyName, "Commands", "" );
|
AString Commands = IniFile.GetValue( KeyName, "Commands", "" );
|
||||||
if( Commands.size() > 0 )
|
if( Commands.size() > 0 )
|
||||||
{
|
{
|
||||||
AStringVector Split = StringSplit( Commands, "," );
|
AStringVector Split = StringSplit( Commands, "," );
|
||||||
@ -93,7 +93,7 @@ cGroupManager::cGroupManager()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string Permissions = IniFile.GetValue( KeyName, "Permissions", "" );
|
AString Permissions = IniFile.GetValue( KeyName, "Permissions", "" );
|
||||||
if( Permissions.size() > 0 )
|
if( Permissions.size() > 0 )
|
||||||
{
|
{
|
||||||
AStringVector Split = StringSplit( Permissions, "," );
|
AStringVector Split = StringSplit( Permissions, "," );
|
||||||
|
Loading…
Reference in New Issue
Block a user