diff options
| author | 2005-12-13 16:11:08 +0000 | |
|---|---|---|
| committer | 2005-12-13 16:11:08 +0000 | |
| commit | 8c00f38e5b8efc96504b36ddbdadc12e007a9a13 (patch) | |
| tree | 47a06b96403cfb06b65fcbcd6961f3684ea6c835 /src/users.cpp | |
| parent | Removed some logging that can cause excessively huge logs when select() is be... (diff) | |
| download | inspircd++-8c00f38e5b8efc96504b36ddbdadc12e007a9a13.tar.gz inspircd++-8c00f38e5b8efc96504b36ddbdadc12e007a9a13.tar.bz2 inspircd++-8c00f38e5b8efc96504b36ddbdadc12e007a9a13.zip | |
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/users.cpp')
| -rw-r--r-- | src/users.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/users.cpp b/src/users.cpp index 1920e8dcd..46bf70744 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -57,11 +57,7 @@ userrec::userrec() dns_done = false; recvq = ""; sendq = ""; - for (int i = 0; i < MAXCHANS; i++) - { - this->chans[i].channel = NULL; - this->chans[i].uc_modes = 0; - } + chans.clear(); invites.clear(); } @@ -86,7 +82,6 @@ int userrec::ReadData(void* buffer, size_t size) { if (this->fd > -1) { - log(DEBUG,"userrec::ReadData on fd %d",this->fd); return read(this->fd, buffer, size); } else return 0; |
