Add configured plugins to the bot instead of the stream

Tue, 22 Dec 2009 05:06:29 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 22 Dec 2009 05:06:29 +0000
changeset 2
6b31cc678fd7
parent 1
f9e4ee00f557
child 3
d1a9fb6495c6

Add configured plugins to the bot instead of the stream

init.lua file | annotate | diff | comparison | revisions
--- a/init.lua	Mon Dec 21 22:09:14 2009 +0000
+++ b/init.lua	Tue Dec 22 05:06:29 2009 +0000
@@ -118,7 +118,7 @@
 	end
 	
 	for _, plugin in ipairs(config.plugins or {"ping"}) do
-		c:add_plugin(plugin);
+		b:add_plugin(plugin);
 	end
 	
 	b:hook("started", function ()

mercurial