Minor tweak of loading command configs
This commit is contained in:
parent
86c25555b2
commit
e529086f21
@ -200,9 +200,9 @@ int Server::getCharID(QString char_name)
|
|||||||
|
|
||||||
void Server::loadCommandConfig()
|
void Server::loadCommandConfig()
|
||||||
{
|
{
|
||||||
magic_8ball_answers.append(loadConfigFile("8ball"));
|
magic_8ball_answers = (loadConfigFile("8ball"));
|
||||||
praise_list.append(loadConfigFile("praise"));
|
praise_list = (loadConfigFile("praise"));
|
||||||
reprimands_list.append(loadConfigFile("reprimands"));
|
reprimands_list = (loadConfigFile("reprimands"));
|
||||||
}
|
}
|
||||||
|
|
||||||
QStringList Server::loadConfigFile(QString filename)
|
QStringList Server::loadConfigFile(QString filename)
|
||||||
|
Loading…
Reference in New Issue
Block a user