fixed typo in BlockResponder
This commit is contained in:
parent
ef21bec0c7
commit
7cce604462
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue