1270 |
|
* side effects - none |
1271 |
|
* Originally written by Dianora (Diane, db@db.net) |
1272 |
|
*/ |
1273 |
< |
time_t |
1273 |
> |
uintmax_t |
1274 |
|
valid_tkline(const char *data, const int minutes) |
1275 |
|
{ |
1276 |
|
const unsigned char *p = (const unsigned char *)data; |
1277 |
|
unsigned char tmpch = '\0'; |
1278 |
< |
time_t result = 0; |
1278 |
> |
uintmax_t result = 0; |
1279 |
|
|
1280 |
|
while ((tmpch = *p++)) |
1281 |
|
{ |
1514 |
|
int |
1515 |
|
parse_aline(const char *cmd, struct Client *source_p, |
1516 |
|
int parc, char **parv, |
1517 |
< |
int parse_flags, char **up_p, char **h_p, time_t *tkline_time, |
1517 |
> |
int parse_flags, char **up_p, char **h_p, uintmax_t *tkline_time, |
1518 |
|
char **target_server, char **reason) |
1519 |
|
{ |
1520 |
|
int found_tkline_time=0; |