diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-06-22 22:34:18 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-06-22 23:07:09 +0200 |
commit | 9603bae003dbb8c9e407e73d602c44dc371860e5 (patch) | |
tree | ee77b06963a2ebc953152e45f5382305f070334d | |
parent | c8c1697e20675a53c0b570b8cddd6eecb1a846b4 (diff) | |
download | xK-9603bae003dbb8c9e407e73d602c44dc371860e5.tar.gz xK-9603bae003dbb8c9e407e73d602c44dc371860e5.tar.xz xK-9603bae003dbb8c9e407e73d602c44dc371860e5.zip |
degesch: fix logging of NICK in PM buffers
-rw-r--r-- | degesch.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4408,8 +4408,8 @@ irc_handle_nick (struct server *s, const struct irc_message *msg) if (pm_buffer) { 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, .who = who, .object = irc_to_utf8 (s->ctx, new_nickname)); |