diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-07 23:02:02 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-07 23:02:02 +0000 |
commit | efac11ae7a0458e195a8f5b61229ed3214b64f86 (patch) | |
tree | a24da08f3cb8130577689aa0fba748ae6e0ba73d | |
parent | 3481bf3610060cd0e639db32be5fea03e8f18dcc (diff) |
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
-rw-r--r-- | src/modules/m_cgiirc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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. |