Software /
code /
verse
Diff
doc/example_adhoc.lua @ 260:7f6df45a3d1f
doc/example*.lua: Update to use new .init() method
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 05 Dec 2011 15:44:17 +0000 |
parent | 117:f523516196ce |
line wrap: on
line diff
--- a/doc/example_adhoc.lua Mon Dec 05 15:39:05 2011 +0000 +++ b/doc/example_adhoc.lua Mon Dec 05 15:44:17 2011 +0000 @@ -5,8 +5,7 @@ -- handy if you're hacking on Verse itself --os.execute("squish --minify-level=none"); -require "verse" -- Verse main library -require "verse.client" -- XMPP client library +require "verse".init("client"); c = verse.new(verse.logger()); c:add_plugin("version");