diff options
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; |