diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-22 15:20:41 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-22 15:20:41 +0000 |
commit | c2dd98bd7dd310e76e5e69bfd964c01981fdb454 (patch) | |
tree | f6d2709e99eb6d109fcb651280b21a77707b2a41 /src | |
parent | 70f589ea40d548d344596b91b001448d17ae160f (diff) |
Tidyup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5521 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/users.cpp | 3 |
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; } |