diff options
author | rekado <rekado@elephly.net> | 2014-12-11 18:59:16 +0100 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2014-12-11 18:59:16 +0100 |
commit | b2d20af884f494fc5178659663ff7d52046fe179 (patch) | |
tree | b4f1b6ffa630df3cdf53f61d3bdb4300c8fe6f6a | |
parent | a7d638168947b36cec0c17cc89bad20f113d23ae (diff) |
return #f for ignored stanza handlers
-rw-r--r-- | xmpp.scm | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -40,8 +40,9 @@ is unregistered." (map (lambda (pair) (let ((predicate (car pair)) (handler (cdr pair))) - (when (predicate stanza) - (handler stanza)))) + (if (predicate stanza) + (handler stanza) + #f))) *stanza-handlers*)) (define (handle-stanza stanza) |