summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-06-19 12:09:18 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-06-19 12:09:18 +0000
commitff65950f67a0b47d31d8a350478513f488ee600f (patch)
treebb748fc109918d7527e3018638675785ee3076af /src
parent4066915deda6f21c5b6b8726c53cb9df9d597bb2 (diff)
- whowas: Renamed functions.
add_history -> whowas_add_history off_history -> whowas_off_history get_history -> whowas_get_history git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2299 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src')
-rw-r--r--src/client.c6
-rw-r--r--src/whowas.c6
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;