From 36ae5303a60a19dd3ad4c84f882ca893cce0d0e2 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Mon, 14 Apr 2014 02:41:56 -0700 Subject: Don't pass extraneous command name to commands. --- echo.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'echo.rb') diff --git a/echo.rb b/echo.rb index 4911ad0..34b9770 100644 --- a/echo.rb +++ b/echo.rb @@ -8,8 +8,8 @@ module Dinobot @commands << :echo end - def echo(user, channel, message) - [[:say, channel, message]] + def echo(user, channel, argument) + [[:say, channel, argument]] end end end -- cgit v1.2.3-70-g09d2