summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2014-11-27 10:15:49 +0100
committerrekado <rekado@elephly.net>2014-11-27 10:15:49 +0100
commit5e959d5d741e95656c0eec581cf12ea786086013 (patch)
tree5c8e841d8180ab6c0b47e3e5b07be40e5a4c7ac7
parent6360dee27e72ac8609c7d7748a92f7a0d5d09269 (diff)
xep 0114: wrap expressions in sugar
-rw-r--r--xep-0114.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/xep-0114.scm b/xep-0114.scm
index f882530..9b94408 100644
--- a/xep-0114.scm
+++ b/xep-0114.scm
@@ -1,5 +1,6 @@
(define-module (gnubba xep-0114)
#:use-module (gnubba sha1)
+ #:use-module (gnubba sugar)
#:use-module (ice-9 rdelim)
#:use-module (ice-9 regex)
#:use-module (sxml simple)
@@ -76,7 +77,7 @@
;; are evaluated in the xmpp monad.
(display "Registering handlers...\n")
(begin
- exp ...)
+ (xmpp-> sock exp ...))
;; Blocking wait for stanzas. At this
;; point, new handler can only be