diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/core/basics.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rbot/core/basics.rb b/lib/rbot/core/basics.rb index bd37839c..c770cda7 100644 --- a/lib/rbot/core/basics.rb +++ b/lib/rbot/core/basics.rb @@ -40,11 +40,11 @@ class BasicsModule < CoreBotModule end
def bot_quit(m, param)
- @bot.quit(param[:msg] ? param[:msg].join(" ") : nil)
+ @bot.quit param[:msg].to_s
end
def bot_restart(m, param)
- @bot.restart(param[:msg] ? param[:msg].join(" ") : nil)
+ @bot.restart param[:msg].to_s
end
def bot_hide(m, param)
@@ -52,11 +52,11 @@ class BasicsModule < CoreBotModule end
def bot_say(m, param)
- @bot.say param[:where], param[:what].join(" ")
+ @bot.say param[:where], param[:what].to_s
end
def bot_action(m, param)
- @bot.action param[:where], param[:what].join(" ")
+ @bot.action param[:where], param[:what].to_s
end
def bot_mode(m, param)
|