diff options
Diffstat (limited to 'stopspam_mod/trunk/init.cpp')
-rw-r--r-- | stopspam_mod/trunk/init.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/stopspam_mod/trunk/init.cpp b/stopspam_mod/trunk/init.cpp index fc32742..17287f9 100644 --- a/stopspam_mod/trunk/init.cpp +++ b/stopspam_mod/trunk/init.cpp @@ -89,7 +89,10 @@ char *date() d[5]=mn[0];
d[6]=mn[1];
d[7]='.';
- d[8]=tmp[4];
+ if (tmp[4] == ' ')
+ d[8] = '0';
+ else
+ d[8]=tmp[4];
d[9]=tmp[5];
return d;
}
|