From 1ed0e06c2fefedc7419b611bba405f6ec5ab99cc Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 2 Jan 2013 05:18:19 +0100 Subject: Update credits --- modules/Credits.rb | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'modules') diff --git a/modules/Credits.rb b/modules/Credits.rb index ad2bd4a..1df7d18 100644 --- a/modules/Credits.rb +++ b/modules/Credits.rb @@ -6,15 +6,18 @@ require_relative '../module_base' module Lain module Modules class Credits < Base - def on_message(muc, message) - return unless /\A!credits\b/ =~ message.body - - muc.say <