summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/statusbar-items.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fe-text/statusbar-items.c b/src/fe-text/statusbar-items.c
index 4a73297a..2e555581 100644
--- a/src/fe-text/statusbar-items.c
+++ b/src/fe-text/statusbar-items.c
@@ -156,8 +156,7 @@ static void statusbar_nick(SBAR_ITEM_REC *item, int ypos)
nick[9] = '\0';
channel = CHANNEL(active_win->active);
- nickrec = channel == NULL ? NULL :
- nicklist_find(channel, server->nick);
+ nickrec = channel == NULL ? NULL : channel->ownnick;
}
size_needed = 2 + strlen(nick) + umode_size +