Changeset

308:2bcc97bc5f43

plugins.adhoc: Add explicit dependency on the disco plugin.
author Kim Alvefur <zash@zash.se>
date Wed, 04 Jul 2012 03:34:12 +0200
parents 307:9d295d44a16e
children 309:6297d658769f
files plugins/adhoc.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)