diff options
author | Curtis McEnroe | 2018-12-02 23:08:49 -0500 |
---|---|---|
committer | Curtis McEnroe | 2018-12-02 23:08:49 -0500 |
commit | 0e1297e068258baba6e26265d81b93bda71be8b2 (patch) | |
tree | d0e953245129e195fe59f14fe6d12f9a92365efc /irc.c | |
parent | 99c8a9fec05e88dca982b2d122925b6b177b9cf8 (diff) |
Add -r option for realname
Diffstat (limited to 'irc.c')
-rw-r--r-- | irc.c | 2 |
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; } |