From 642b665fb0967dc9dcbaed5f54b52276ea230e12 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 12 Apr 2004 12:54:51 +0000 Subject: Added 'a' amd 'b' server link tokens (change gecos, change host) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@562 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/modules.cpp') 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); -- cgit v1.2.3