4 5 6 7 8
# File 'lib/hector/commands/part.rb', line 4 def on_part channel = Channel.find(request.args.first) channel.broadcast(:part, channel.name, :source => source, :text => request.text) channel.part(self) end