summaryrefslogtreecommitdiff
path: root/src/message.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-05 08:59:12 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-05 08:59:12 +0000
commitace0f7f83f3322cc3b251835c7a44d63c8d8acb3 (patch)
treefbb9261f74e8cddb0c11a48798d2f7e1fbc7e478 /src/message.cpp
parente962708ca03d7c593e4119c487eb8e0d591ef6d7 (diff)
Added OnChangeHost
Added OnChangeName git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2181 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/message.cpp')
-rw-r--r--src/message.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/message.cpp b/src/message.cpp
index 4ab697739..2f527c983 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -218,6 +218,7 @@ void ChangeName(userrec* user, const char* gecos)
FOREACH_RESULT(OnChangeLocalUserGECOS(user,gecos));
if (MOD_RESULT)
return;
+ FOREACH_MOD OnChangeName(user,gecos);
}
strlcpy(user->fullname,gecos,MAXBUF);
}
@@ -230,6 +231,7 @@ void ChangeDisplayedHost(userrec* user, const char* host)
FOREACH_RESULT(OnChangeLocalUserHost(user,host));
if (MOD_RESULT)
return;
+ FOREACH_MOD OnChangeHost(user,host);
}
strlcpy(user->dhost,host,160);
}