fixed last commit #2
authorpk910 <philipp@zoelle1.de>
Fri, 12 Aug 2011 04:25:28 +0000 (06:25 +0200)
committerpk910 <philipp@zoelle1.de>
Fri, 12 Aug 2011 04:25:28 +0000 (06:25 +0200)
ChanNode.c

index 61e73e4fa9644905e940ee35fd455b96aa28b043..7b3f1c3d71e80891cec53fd67ae96d30f25ded6e 100644 (file)
@@ -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) {