degesch: fix logging of NICK in PM buffers
This commit is contained in:
parent
c8c1697e20
commit
9603bae003
|
@ -4408,8 +4408,8 @@ irc_handle_nick (struct server *s, const struct irc_message *msg)
|
||||||
if (pm_buffer)
|
if (pm_buffer)
|
||||||
{
|
{
|
||||||
char *who = irc_is_this_us (s, msg->prefix)
|
char *who = irc_is_this_us (s, msg->prefix)
|
||||||
? irc_to_utf8 (s->ctx, msg->prefix)
|
? NULL
|
||||||
: NULL;
|
: irc_to_utf8 (s->ctx, msg->prefix);
|
||||||
buffer_send (s->ctx, pm_buffer, BUFFER_LINE_NICK, 0,
|
buffer_send (s->ctx, pm_buffer, BUFFER_LINE_NICK, 0,
|
||||||
.who = who,
|
.who = who,
|
||||||
.object = irc_to_utf8 (s->ctx, new_nickname));
|
.object = irc_to_utf8 (s->ctx, new_nickname));
|
||||||
|
|
Loading…
Reference in New Issue