summaryrefslogtreecommitdiff
path: root/modules/core
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 /modules/core
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 'modules/core')
-rw-r--r--modules/core/m_kill.c4
-rw-r--r--modules/core/m_nick.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/core/m_kill.c b/modules/core/m_kill.c
index c96db23..f09f8b5 100644
--- a/modules/core/m_kill.c
+++ b/modules/core/m_kill.c
@@ -107,7 +107,7 @@ mo_kill(struct Client *client_p, struct Client *source_p,
* rewrite the KILL for this new nickname--this keeps
* servers in synch when nick change and kill collide
*/
- if ((target_p = get_history(user,
+ if ((target_p = whowas_get_history(user,
(time_t)ConfigFileEntry.kill_chase_time_limit))
== NULL)
{
@@ -227,7 +227,7 @@ ms_kill(struct Client *client_p, struct Client *source_p,
*/
if (IsDigit(*user)) /* Somehow an uid was not found in the hash ! */
return;
- if ((target_p = get_history(user,
+ if ((target_p = whowas_get_history(user,
(time_t)ConfigFileEntry.kill_chase_time_limit))
== NULL)
{
diff --git a/modules/core/m_nick.c b/modules/core/m_nick.c
index 6cdf91a..aaedb30 100644
--- a/modules/core/m_nick.c
+++ b/modules/core/m_nick.c
@@ -231,7 +231,7 @@ change_local_nick(struct Client *source_p, const char *nick)
sendto_common_channels_local(source_p, 1, 0, ":%s!%s@%s NICK :%s",
source_p->name, source_p->username,
source_p->host, nick);
- add_history(source_p, 1);
+ whowas_add_history(source_p, 1);
sendto_server(source_p, CAP_TS6, NOCAPS,
":%s NICK %s :%lu",
@@ -325,7 +325,7 @@ nick_from_server(struct Client *client_p, struct Client *source_p, int parc,
source_p->name,source_p->username,
source_p->host, nick);
- add_history(source_p, 1);
+ whowas_add_history(source_p, 1);
sendto_server(client_p, CAP_TS6, NOCAPS,
":%s NICK %s :%lu",
ID(source_p), nick, (unsigned long)source_p->tsinfo);