From c2dd98bd7dd310e76e5e69bfd964c01981fdb454 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 22 Oct 2006 15:20:41 +0000 Subject: Tidyup git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5521 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3