summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-22 15:20:41 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-22 15:20:41 +0000
commitc2dd98bd7dd310e76e5e69bfd964c01981fdb454 (patch)
treef6d2709e99eb6d109fcb651280b21a77707b2a41 /src/users.cpp
parent70f589ea40d548d344596b91b001448d17ae160f (diff)
Tidyup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5521 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 550f7cf29..c666fd7bd 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -281,8 +281,7 @@ userrec::userrec(InspIRCd* Instance) : ServerInstance(Instance)
for (unsigned int n = 0; n < MAXCHANS; n++)
{
- ucrec* x = new ucrec();
- chans[n] = x;
+ chans[n] = new ucrec();
x->channel = NULL;
x->uc_modes = 0;
}