Changeset

270:6a9a99aa062b

doc/example_pubsub.lua: Fix typo.
author Kim Alvefur <zash@zash.se>
date Fri, 23 Dec 2011 06:11:14 +0100
parents 269:a15ede6b9ca1
children 271:c9d8628a61cc
files doc/example_pubsub.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/example_pubsub.lua	Fri Dec 16 22:09:37 2011 +0100
+++ b/doc/example_pubsub.lua	Fri Dec 23 06:11:14 2011 +0100
@@ -33,7 +33,7 @@
 	print("Stream ready!");
 
 	-- Create a reference to a node
-	local node = c:pubsub("pubsub.shakespeare.lit", "princely_musings");
+	local node = c.pubsub("pubsub.shakespeare.lit", "princely_musings");
 
 	-- Callback for when something is published to the node
 	node:hook(function(event)