plugins XEP-0096, XEP-0065: fixed bad log calls
This commit is contained in:
parent
a1b79a7296
commit
45119d4d40
1 changed files with 4 additions and 4 deletions
|
|
@ -180,7 +180,7 @@ class XEP_0096(object):
|
|||
misc_elts.append(range_elt)
|
||||
self.host.plugins["XEP-0095"].acceptStream(data["id"], data['from'], feature_elt, misc_elts, profile)
|
||||
else:
|
||||
log.debug(_("Transfer [%s] refused"), sid)
|
||||
log.debug(_("Transfer [%s] refused") % sid)
|
||||
self.host.plugins["XEP-0095"].sendRejectedError(data["id"], data['from'], profile=profile)
|
||||
del(client._xep_0096_waiting_for_approval[sid])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue