fixed typo in BlockResponder

This commit is contained in:
HanzZ 2011-08-11 22:55:46 +02:00
parent ef21bec0c7
commit 7cce604462

View file

@ -56,7 +56,7 @@ bool BlockResponder::handleSetRequest(const Swift::JID& from, const Swift::JID&
}
Buddy *buddy = user->getRosterManager()->getBuddy(Buddy::JIDToLegacyName(to));
if (buddy) {
if (!buddy) {
LOG4CXX_WARN(logger, from.toBare().toString() << ": Buddy " << Buddy::JIDToLegacyName(to) << " does not exist");
return true;
}