Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
Oops, realname should be preceded with : to allow spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Olson committed Jul 30, 2010
1 parent 7dc51d4 commit 1576c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/on_irc/connection.rb
Expand Up @@ -8,7 +8,7 @@ def initialize(server)

## EventMachine callbacks
def post_init
send_data("USER #{@server.ident || @server.irc.ident} * * #{@server.realname || @server.irc.realname}\r\n")
send_data("USER #{@server.ident || @server.irc.ident} * * :#{@server.realname || @server.irc.realname}\r\n")
send_data("NICK #{@server.nick || @server.irc.nick}\r\n")
rescue => e
p e
Expand Down

0 comments on commit 1576c8e

Please sign in to comment.