From: pk910 Date: Fri, 12 Aug 2011 04:25:28 +0000 (+0200) Subject: fixed last commit #2 X-Git-Tag: v5.3~593 X-Git-Url: http://git.pk910.de/?a=commitdiff_plain;h=c3ad4e10e5e343dee9f18ccea6cca4da026d0e2f;p=NeonServV5.git fixed last commit #2 --- diff --git a/ChanNode.c b/ChanNode.c index 61e73e4..7b3f1c3 100644 --- a/ChanNode.c +++ b/ChanNode.c @@ -222,7 +222,7 @@ static unsigned int* getModeOptions(char mode) { int isModeSet(struct ChanNode* chan, char modeChar) { unsigned int *modeOpt = getModeOptions(modeChar); - return (chan->modes & modeOpt[0]) + return (chan->modes & modeOpt[0]); } void* getModeValue(struct ChanNode* chan, char modeChar) {