mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
fix wrong server_time in $line->get_meta
This commit is contained in:
parent
7d13cfba07
commit
9677b07488
@ -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…
Reference in New Issue
Block a user