summary refs log tree commit diff
path: root/irc.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc.c b/irc.c
index f85bfc9..e4eefa3 100644
--- a/irc.c
+++ b/irc.c
@@ -109,7 +109,7 @@ int ircConnect(void) {
 
 	if (irc.pass) ircFmt("PASS :%s\r\n", irc.pass);
 	ircFmt("NICK %s\r\n", self.nick);
-	ircFmt("USER %s 0 * :%s\r\n", self.user, self.nick);
+	ircFmt("USER %s 0 * :%s\r\n", self.user, self.real);
 
 	return irc.sock;
 }