Skip to content

Commit

Permalink
Hosts vector not cleared on rehash, made rehashing impossible
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9413 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
braindigitalis committed Apr 7, 2008
1 parent 5b02c79 commit 8b2a244
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/m_cgiirc.cpp
Expand Up @@ -147,6 +147,7 @@ class ModuleCgiIRC : public Module
virtual void OnRehash(userrec* user, const std::string &parameter)
{
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.

Expand Down

0 comments on commit 8b2a244

Please sign in to comment.