summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp
index c666fd7bd..796893be6 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -282,8 +282,8 @@ userrec::userrec(InspIRCd* Instance) : ServerInstance(Instance)
for (unsigned int n = 0; n < MAXCHANS; n++)
{
chans[n] = new ucrec();
- x->channel = NULL;
- x->uc_modes = 0;
+ chans[n]->channel = NULL;
+ chans[n]->uc_modes = 0;
}
}