-
Notifications
You must be signed in to change notification settings - Fork 0
slang_gseen_commands.c.diff
wilk edited this page Sep 14, 2022
·
2 revisions
This is a modification for gseen.mod (1.1.1 dev3 / 1.2.0) for Eggdrop.
Changes:
- adds (missing?)
%Y
(year) in format strings for last seen time (<?stime/?>
) and last request time (<?rtime/?>
) - fixes hardcoded buffer size
@@ -71 +71 @@
- strftime(t, 19, "%d.%m. %H:%M", localtime(&tt));
+ strftime(t, sizeof(t), "%d.%m.%Y %H:%M", localtime(&tt));
@@ -162 +162 @@
- strftime(t, sizeof(t), "%d.%m. %H:%M", localtime(&tt));
+ strftime(t, sizeof(t), "%d.%m.%Y %H:%M", localtime(&tt));