summary refs log tree commit diff
path: root/irc.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-12-02 23:08:49 -0500
committerJune McEnroe <june@causal.agency>2018-12-02 23:08:49 -0500
commit0e1297e068258baba6e26265d81b93bda71be8b2 (patch)
treed0e953245129e195fe59f14fe6d12f9a92365efc /irc.c
parentSend automated messages to TagStatus with UICold (diff)
downloadcatgirl-0e1297e068258baba6e26265d81b93bda71be8b2.tar.gz
catgirl-0e1297e068258baba6e26265d81b93bda71be8b2.zip
Add -r option for realname
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;
 }