mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 17:12:51 +02:00
fix wrong server_time in $line->get_meta
This commit is contained in:
parent
7d13cfba07
commit
9677b07488
1 changed files with 3 additions and 1 deletions
|
|
@ -123,6 +123,8 @@ PPCODE:
|
||||||
(void) hv_store(hv, key, strlen(key), new_pv(val), 0);
|
(void) hv_store(hv, key, strlen(key), new_pv(val), 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
(void) hv_store(hv, "server_time", 11, newSViv(m->server_time), 0);
|
if (m->server_time) {
|
||||||
|
(void) hv_store(hv, "server_time", 11, newSViv(m->server_time), 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
XPUSHs(sv_2mortal(newRV_noinc((SV *) hv)));
|
XPUSHs(sv_2mortal(newRV_noinc((SV *) hv)));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue