Changeset - 81bcacf6953d
[Not reviewed]
0 2 0
Jan Kaluza - 13 years ago 2012-07-30 14:26:06
hanzz.k@gmail.com
Enable logging unicode characters
2 files changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
spectrum/src/main.cpp
Show inline comments
 
@@ -124,6 +124,7 @@ int main(int argc, char **argv)
 
	std::string config_file;
 
	std::string jid;
 

	
 
	setlocale(LC_ALL, "");
 

	
 
#ifndef WIN32
 
	if (signal(SIGINT, spectrum_sigint_handler) == SIG_ERR) {
src/admininterface.cpp
Show inline comments
 
@@ -291,10 +291,10 @@ void AdminInterface::handleQuery(Swift::Message::ref message) {
 
		boost::split(args, body, boost::is_any_of(" "));
 
		if (args.size() == 2) {
 
			if (m_userRegistration->unregisterUser(args[1])) {
 
				message->setBody("User unregistered.");
 
				message->setBody("User '" + args[1] + "' unregistered.");
 
			}
 
			else {
 
				message->setBody("Registration failed: User is not registered");
 
				message->setBody("Registration failed: User '" + args[1] + "' is not registered");
 
			}
 
		}
 
		else {
0 comments (0 inline, 0 general)