From efac11ae7a0458e195a8f5b61229ed3214b64f86 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 7 Apr 2008 23:02:02 +0000 Subject: Hosts vector not cleared on rehash, made rehashing for changes impossible git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9414 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_cgiirc.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index 3ad4e5f70..7860b8a6e 100644 --- a/src/modules/m_cgiirc.cpp +++ b/src/modules/m_cgiirc.cpp @@ -157,6 +157,7 @@ public: virtual void OnRehash(User* user, const std::string ¶meter) { ConfigReader Conf(ServerInstance); + Hosts.clear(); NotifyOpers = Conf.ReadFlag("cgiirc", "opernotice", 0); // If we send an oper notice when a CGI:IRC has their host changed. -- cgit v1.2.3