From 69d55d573731dcceaf112e9009cd415da84f45a3 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 8 Jul 2006 23:03:32 +0000 Subject: Fixed pointless dereference spotted by Foamy git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4198 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/mode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mode.cpp b/src/mode.cpp index 3dcfec5dc..61fc362c7 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -177,7 +177,7 @@ const char* ModeParser::Grant(userrec *d,chanrec *chan,int MASK) { return ""; } - n->uc_modes = ((ucrec*)(*i))->uc_modes | MASK; + n->uc_modes = n->uc_modes | MASK; switch (MASK) { case UCMODE_OP: -- cgit v1.2.3