plugins.adhoc: Add explicit dependency on the disco plugin.

Wed, 04 Jul 2012 03:34:12 +0200

author
Kim Alvefur <zash@zash.se>
date
Wed, 04 Jul 2012 03:34:12 +0200
changeset 308
2bcc97bc5f43
parent 307
9d295d44a16e
child 309
6297d658769f

plugins.adhoc: Add explicit dependency on the disco plugin.

plugins/adhoc.lua file | annotate | diff | comparison | revisions
--- a/plugins/adhoc.lua	Sun Jul 01 13:54:09 2012 +0200
+++ b/plugins/adhoc.lua	Wed Jul 04 03:34:12 2012 +0200
@@ -11,6 +11,7 @@
 local commands = {};
 
 function verse.plugins.adhoc(stream)
+	stream:add_plugin("disco");
 	stream:add_disco_feature(xmlns_commands);
 
 	function stream:query_commands(jid, callback)

mercurial