<commit_before>#include "kopeteaway.h"

#include <qstring.h>
#include <kglobal.h>
#include <kconfig.h>
#include <qmultilineedit.h>

#include <kopete.h>
#include "kopeteawaydialog.h"

KopeteAway *KopeteAway::instance = 0L;

KopeteAway::KopeteAway()
{
	config = KGlobal::config();
	config->setGroup("");
	mAwayMessage = config->readEntry ( "AwayMessage", "I'm currently away" );
}

QString KopeteAway::message()
{
	return getInstance()->mAwayMessage;<commit_msg>Fixed one bug in KopeteAway (globalAway has to be initialized as false)<commit_after>#include "kopeteaway.h"

#include <qstring.h>
#include <kglobal.h>
#include <kconfig.h>
#include <qmultilineedit.h>

#include <kopete.h>
#include "kopeteawaydialog.h"

KopeteAway *KopeteAway::instance = 0L;

KopeteAway::KopeteAway()
{
	config = KGlobal::config();
	config->setGroup("");
	mAwayMessage = config->readEntry ( "AwayMessage", "I'm currently away" );
	mGlobalAway = false;
}

QString KopeteAway::message()
{
	return getInstance()->mAwayMessage;
{'fraction_non_alphanumeric': 0.158, 'fraction_numerical': 0.002, 'mean_word_length': 6.7, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5685576', 'n_tokens_mistral': 399, 'n_tokens_neox': 392, 'n_words': 74}