summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-09 11:34:47 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-09 11:34:47 +0000
commitb251c1feb7f7e379181266f23f4f20a740b68fe8 (patch)
tree543a1e08e5bf44bc9c5c8d2f00cebda11843afc2 /src/users.cpp
parentc2a5839bcbd6bebf0dd102a8dfd283e92c8a0507 (diff)
Fixed to use iterators
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3580 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
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;
}
}