]> jfr.im git - irc/weechat/weechat.git/commit
core: do not remove quotes in arguments of command /eval (closes #1601)
authorSébastien Helleu <redacted>
Thu, 24 Dec 2020 23:21:03 +0000 (00:21 +0100)
committerSébastien Helleu <redacted>
Thu, 24 Dec 2020 23:21:03 +0000 (00:21 +0100)
commitee9aa28a8c84b591846a53506613fa8f3f7f62be
tree5385e30229b18192be37e827097c00f1ab8ad0a6
parenta8abfcd7b468e8e7fee9fdcca7a698e3ac456088
core: do not remove quotes in arguments of command /eval (closes #1601)

Now, /eval -n -c "a" == "a" returns True instead of False.

When quotes were removed, the condition evaluated was: a" == "a (which is
False).
ChangeLog.adoc
src/core/wee-command.c
tests/unit/core/test-core-eval.cpp