diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-12 12:54:51 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-12 12:54:51 +0000 |
commit | 642b665fb0967dc9dcbaed5f54b52276ea230e12 (patch) | |
tree | 9e6259b4e496c372826da36fc27bb772f157c3ff /src/modules.cpp | |
parent | f98a8569791abd5d021285871c93e7e3d7f04446 (diff) |
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
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 10 |
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); |