s/send_to/say_to/ (reported by McKael)
authorMyhailo Danylenko <isbear@ukrpost.net>
Sun, 04 Apr 2010 20:55:04 +0300
changeset 106 c60fe499f075
parent 105 bc3201298e52
child 107 1ed8491ae1b4
s/send_to/say_to/ (reported by McKael)
examples/mcabberrc.lua
--- a/examples/mcabberrc.lua	Sun Apr 04 20:53:32 2010 +0300
+++ b/examples/mcabberrc.lua	Sun Apr 04 20:55:04 2010 +0300
@@ -135,11 +135,11 @@
 main.command ( 'cmd',
 	function ( args )
 		local to = main.current_buddy ()
-		main.run ( ('send_to -q %q $ %s'):format ( to, args ) )
+		main.run ( ('say_to -q %q $ %s'):format ( to, args ) )
 		main.bgread ( args,
 			function ( data )
 				if data then
-					main.run ( ('send_to -q %q %s'):format ( to, data ) )
+					main.run ( ('say_to -q %q %s'):format ( to, data ) )
 					return true
 				else
 					return false