diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-13 16:11:08 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-13 16:11:08 +0000 |
commit | 8c00f38e5b8efc96504b36ddbdadc12e007a9a13 (patch) | |
tree | 47a06b96403cfb06b65fcbcd6961f3684ea6c835 /src/modules.cpp | |
parent | 1ed779491fd46606b4ee3e258abe0d81e8207422 (diff) |
Made MAXCHANS growable for opers/ulines (growing of list not implemented yet)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2367 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index af8e2cbb6..f5728acde 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -675,7 +675,7 @@ bool Server::PseudoToUser(userrec* alive,userrec* zombie,std::string message) Write(zombie->fd,":%s!%s@%s NICK %s",alive->nick,alive->ident,alive->host,zombie->nick); kill_link(alive,message.c_str()); fd_ref_table[zombie->fd] = zombie; - for (int i = 0; i != MAXCHANS; i++) + for (int i = 0; i < zombie->chans.size(); i++) { if (zombie->chans[i].channel != NULL) { |