summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp3
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();
}