diff options
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index eb4954897..48295eddd 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -28,7 +28,8 @@ userrec::userrec() strcpy(result,""); for (int i = 0; i < MAXCHANS; i++) { - chans[i].channel = NULL; + this->chans[i].channel = NULL; + this->chans[i].uc_modes = 0; } invites.clear(); } |