aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--src/irc.c5
2 files changed, 3 insertions, 4 deletions
diff --git a/TODO b/TODO
index 53a459d..7122d3c 100644
--- a/TODO
+++ b/TODO
@@ -4,8 +4,6 @@ FujiChat features, we're almost at parity!
- Nick tab completion. FujiChat's was very lame, make this one
less lame. It can't be perfect due to limited RAM.
-- Real name is configurable in the UI, but not yet used in
- the client!
Other stuff:
diff --git a/src/irc.c b/src/irc.c
index 34957f1..7a27d0c 100644
--- a/src/irc.c
+++ b/src/irc.c
@@ -668,8 +668,9 @@ void irc_register(void) {
return;
/* 2nd arg: local (UNIX) username, just use the nick */
- /* 3rd arg: "real" name (make it a pref?) */
- txbuf_set_str3("USER ", conf->nick, " 0 * :FujiNetChat User");
+ /* 3rd arg: "real" name */
+ txbuf_set_str3("USER ", conf->nick, " 0 * :");
+ txbuf_append_str(conf->real_name);
txbuf_send();
send_nick();