From 27e2941ec9a9a7609749b7310a787548ddf716a5 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 12 Apr 2008 17:01:36 +0000 Subject: Fixes for bug #515, update existing in-use connect tags on the fly in rehash git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9471 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/users.h') diff --git a/include/users.h b/include/users.h index 4b16c09be..229edcfa2 100644 --- a/include/users.h +++ b/include/users.h @@ -239,6 +239,12 @@ public: this->limit = llimit; } + void Update(const std::string &n, const std::string &hst) + { + name = n; + host = hst; + } + /** Reference counter. Contains an int as to how many users are connected to this class. :) * This will be 0 if no users are connected. If a is removed from the config, and there * are 0 users on it - it will go away in RAM. :) -- cgit v1.2.3