From cfa482e1868fe466d8bea4b7696b36fe01618f85 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 2 Sep 2009 00:45:16 +0000 Subject: Add User::DoHostCycle git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11604 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/users.h') diff --git a/include/users.h b/include/users.h index 39b0ebdca..de4d21f9a 100644 --- a/include/users.h +++ b/include/users.h @@ -864,6 +864,14 @@ class CoreExport User : public EventHandler */ bool SharesChannelWith(User *other); + /** Send fake quit/join messages for host or ident cycle. + * Run this after the item in question has changed. + * You should not need to use this function, call ChangeDisplayedHost instead + * + * @param The entire QUIT line, including the source using the old value + */ + void DoHostCycle(const std::string &quitline); + /** Change the displayed host of a user. * ALWAYS use this function, rather than writing User::dhost directly, * as this triggers module events allowing the change to be syncronized to -- cgit v1.2.3