diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client.c | 6 | ||||
-rw-r--r-- | src/whowas.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/client.c b/src/client.c index 7164a12..7e63c03 100644 --- a/src/client.c +++ b/src/client.c @@ -539,7 +539,7 @@ find_chasing(struct Client *client_p, struct Client *source_p, const char *user, if (IsDigit(*user)) return NULL; - if ((who = get_history(user, + if ((who = whowas_get_history(user, (time_t)ConfigFileEntry.kill_chase_time_limit)) == NULL) { @@ -662,8 +662,8 @@ exit_one_client(struct Client *source_p, const char *quitmsg) DLINK_FOREACH_SAFE(lp, next_lp, source_p->channel.head) remove_user_from_channel(lp->data); - add_history(source_p, 0); - off_history(source_p); + whowas_add_history(source_p, 0); + whowas_off_history(source_p); watch_check_hash(source_p, RPL_LOGOFF); diff --git a/src/whowas.c b/src/whowas.c index 550d461..326d7d3 100644 --- a/src/whowas.c +++ b/src/whowas.c @@ -45,7 +45,7 @@ whowas_init(void) } void -add_history(struct Client *client_p, const int online) +whowas_add_history(struct Client *client_p, const int online) { static unsigned int whowas_next = 0; struct Whowas *who = &WHOWAS[whowas_next]; @@ -84,7 +84,7 @@ add_history(struct Client *client_p, const int online) } void -off_history(struct Client *client_p) +whowas_off_history(struct Client *client_p) { dlink_node *ptr = NULL, *ptr_next = NULL; @@ -98,7 +98,7 @@ off_history(struct Client *client_p) } struct Client * -get_history(const char *nick, time_t timelimit) +whowas_get_history(const char *nick, time_t timelimit) { dlink_node *ptr = NULL; |