Yes the bracket and I can see you've programmed in C
May I just suggest that you use $network instead of $server, it's more flexible because it the same for all servers in the network, which helps if you connect to the round ribbon address (irc.whatever.com) instead of directly to a certain server (bleh.whatever.com).
Just thought that would help
- later