summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 1ff2f3f9d..472c6ca9e 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -258,6 +258,16 @@ void Server::SendWallops(userrec* User, std::string text)
WriteWallOps(User,false,"%s",text.c_str());
}
+void Server::ChangeHost(userrec* user, std::string host)
+{
+ ChangeDisplayedHost(user,host.c_str());
+}
+
+void Server::ChangeGECOS(userrec* user, std::string gecos)
+{
+ ChangeName(user,gecos.c_str());
+}
+
bool Server::IsNick(std::string nick)
{
return (isnick(nick.c_str()) != 0);