plugins.urltitle: Use correct method to send a message to a room. Thanks ruskie

Tue, 07 Feb 2012 17:38:10 +0100

author
Kim Alvefur <zash@zash.se>
date
Tue, 07 Feb 2012 17:38:10 +0100
changeset 94
5cc3b481d3e7
parent 93
ab58062505e2
child 95
6b3ee06d5837

plugins.urltitle: Use correct method to send a message to a room. Thanks ruskie

plugins/urltitle.lua file | annotate | diff | comparison | revisions
--- a/plugins/urltitle.lua	Tue Jan 31 19:41:46 2012 +0100
+++ b/plugins/urltitle.lua	Tue Feb 07 17:38:10 2012 +0100
@@ -12,7 +12,7 @@
 				if title then
 					title = title:gsub("\n", "");
 					if message.room then
-						message.room:send(title);
+						message.room:send_message(title)
 					else
 						message:reply(title);
 					end

mercurial