summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2020-05-26 16:49:33 -0700
committerPatrick Griffis <tingping@tingping.se>2020-05-26 16:50:04 -0700
commit53952feddd026ba62f517a50be36040d16828166 (patch)
tree075ebb74fbe4ed53c17b67b40d1a478e59b362ba
parentf9adf88eca7698d19e83c8b525828efe661ac733 (diff)
Fix parsing of 313
Closes #2472
-rw-r--r--src/common/proto-irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c
index dcb4e8cd..69501ee3 100644
--- a/src/common/proto-irc.c
+++ b/src/common/proto-irc.c
@@ -621,7 +621,7 @@ process_numeric (session * sess, int n,
case 319:
if (!serv->skip_next_whois)
EMIT_SIGNAL_TIMESTAMP (XP_TE_WHOIS2, whois_sess, word[4],
- word_eol[5] + 1, NULL, NULL, 0,
+ word_eol[5][0] == ':' ? word_eol[5] + 1 : word_eol[5], NULL, NULL, 0,
tags_data->timestamp);
break;