aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-03-09 11:34:47 +0000
committerGravatar brain2006-03-09 11:34:47 +0000
commitb251c1feb7f7e379181266f23f4f20a740b68fe8 (patch)
tree543a1e08e5bf44bc9c5c8d2f00cebda11843afc2 /src/users.cpp
parentProbably wont compile yet - purge_empty_channels refactor (diff)
downloadinspircd++-b251c1feb7f7e379181266f23f4f20a740b68fe8.tar.gz
inspircd++-b251c1feb7f7e379181266f23f4f20a740b68fe8.tar.bz2
inspircd++-b251c1feb7f7e379181266f23f4f20a740b68fe8.zip
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;
}
}