summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/core/m_kill.c4
-rw-r--r--modules/core/m_nick.c4
-rw-r--r--modules/m_svsnick.c2
3 files changed, 5 insertions, 5 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);
diff --git a/modules/m_svsnick.c b/modules/m_svsnick.c
index 4847cbd..49a4f24 100644
--- a/modules/m_svsnick.c
+++ b/modules/m_svsnick.c
@@ -102,7 +102,7 @@ ms_svsnick(struct Client *client_p, struct Client *source_p,
target_p->name, target_p->username,
target_p->host, parv[2]);
- add_history(target_p, 1);
+ whowas_add_history(target_p, 1);
sendto_server(NULL, CAP_TS6, NOCAPS,
":%s NICK %s :%lu",