diff options
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/core/irc-servers.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/irc/core/irc-servers.c b/src/irc/core/irc-servers.c index fe3e5fcc..4da561eb 100644 --- a/src/irc/core/irc-servers.c +++ b/src/irc/core/irc-servers.c @@ -144,12 +144,19 @@ static void server_init(IRC_SERVER_REC *server) username = g_strdup(conn->username); ptr = strchr(username, ' '); if (ptr != NULL) *ptr = '\0'; - + irc_send_cmdv(server, "USER %s %s %s :%s", username, hostname, address, conn->realname); g_free(username); server->cmdcount = 0; + + if (conn->proxy_string_after != NULL) { + irc_send_cmdv(server, conn->proxy_string_after, + conn->address, conn->port); + } + + server->cmdcount = 0; } IRC_SERVER_REC *irc_server_connect(IRC_SERVER_CONNECT_REC *conn) |