aboutsummaryrefslogtreecommitdiffhomepage
path: root/demo/chat.ur
diff options
context:
space:
mode:
Diffstat (limited to 'demo/chat.ur')
-rw-r--r--demo/chat.ur2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/chat.ur b/demo/chat.ur
index 52c344be..9f18e9ef 100644
--- a/demo/chat.ur
+++ b/demo/chat.ur
@@ -35,7 +35,7 @@ fun chat id () =
fun doSpeak () =
line <- get newLine;
set newLine "";
- speak line
+ rpc (speak line)
in
return <xml><body onload={onload ()}>
<h1>{[r.T.Title]}</h1>