diff options
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp index 9bc006bbc..4db389957 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -117,6 +117,8 @@ userrec::userrec() for (unsigned int n = 0; n < MAXCHANS; n++) { clientlist[tempnick]->chans[n] = new ucrec(); + clientlist[tempnick]->chans[n]->channel = NULL; + clientlist[tempnick]->chans[n]->uc_modes = 0; } } |