diff --git a/build.sh b/build.sh index a55501f..ceabfde 100644 --- a/build.sh +++ b/build.sh @@ -34,7 +34,6 @@ cp -r "$DOCS" "$RELEASEDIR" mkdir -p $RELEASEDIR/$PLUGINDIR cp -r $BUILDDIR/$PLUGINFILE $RELEASEDIR/$PLUGINDIR/$PLUGINFILE -cp -r license.txt $RELEASEDIR/$DOCS/license.txt # Make release package. echo "Compressing files..." diff --git a/license.txt b/docs/license.txt similarity index 100% rename from license.txt rename to docs/license.txt diff --git a/src/zr/paramparser.inc b/src/zr/paramparser.inc index ea3a5cc..9a7d0b0 100644 --- a/src/zr/paramparser.inc +++ b/src/zr/paramparser.inc @@ -279,8 +279,11 @@ stock ParamParseString(buffer[][ParamParseResult], maxlen, String:paramString[], // Check if the current character is a special character. if (paramString[startpos] == '"') { - // Toggle quote. - quoteon = !quoteon; + // Toggle quote if the current quote is not escaped. + if (paramString[startpos - 1] != '\\') + { + quoteon = !quoteon; + } // Check quote state. if (quoteon)