summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-08 23:03:32 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-08 23:03:32 +0000
commit69d55d573731dcceaf112e9009cd415da84f45a3 (patch)
tree447c17a9fa93dcd7e3f460db0e4cfa2cc15e61a7 /src/mode.cpp
parent0532c5ff4259b4b742e9f5c113236aec445dde0b (diff)
Fixed pointless dereference spotted by Foamy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4198 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp2
1 files changed, 1 insertions, 1 deletions
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: