# File lib/plugins/irc_gw.rb, line 75 def on_message(m) termtter_command = m.command.downcase + ' ' + m.params.join(' ') return if Termtter::Client.find_commands(termtter_command).empty? post '#termtter', NOTICE, main_channel, '> ' + termtter_command Termtter::Client.call_commands(termtter_command) rescue Exception => e post '#termtter', NOTICE, main_channel, "#{e.class.to_s}: #{e.message}" Termtter::Client.handle_error(e) end