From 0e1297e068258baba6e26265d81b93bda71be8b2 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 2 Dec 2018 23:08:49 -0500 Subject: Add -r option for realname --- irc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'irc.c') 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; } -- cgit 1.4.1