Permalink
Browse files

oops. tabs

  • Loading branch information...
1 parent 1feee75 commit 3853c6a1f7ca3e68656d86b920cf0f20f1babfae @lifo committed Sep 2, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 app/actions/chat_action.rb
View
12 app/actions/chat_action.rb
@@ -16,12 +16,12 @@ def handle_join(message)
@user = message[:user]
config = {
- :server => "irc.freenode.net",
- :port => 6667,
- :nickname => @user,
- :realname => @user,
- :username => @user,
- :channels => ["#cramp"]
+ :server => "irc.freenode.net",
+ :port => 6667,
+ :nickname => @user,
+ :realname => @user,
+ :username => @user,
+ :channels => ["#cramp"]
}
message_handler = Proc.new {|event| render encode_json(:message => event.message, :user => event.from, :action => 'message') }

0 comments on commit 3853c6a

Please sign in to comment.