The (faulty) detection of recursive Aliases was removed in
a656fd0693, claiming that "our nesting
limit will catch issues now." However, nested Aliases weren't actually
increasing the nesting level.
Actually increasing the nesting level when an alias is executed restores
the intended behavior. Additionally, limiting the size of the
expanded arguments to an alias prevents exponential growth of memory
usage for certain malicious inputs/aliases.
Signed-off-by: James McCoy <vega.james@gmail.com>
* plugins.karma.allowunaddressedkarma doesn't mean that the bot must be addressed by nick. It must be addressed, but that can also happen with prefix.
[SKIP CI]
And I thought this was already made clear to Limnoria, but seems that it
wasn't. because the wrong name appears in translations that I don't
remember touching.
[SKIP CI]
* Default separator to `is`.
* It's more used than `as`.
* Help text updated too.
* Default value as `$value`. Like with Topic plugin, the `$key could be`
is just annoyance which users are very likely to disable anyway.
* Most of networks have services with this name.
* I can only name QuakeNet from those that don't, but the default
configuration exludes it.
* If this plugin is loaded in Supybot-wizard, it asks for nicknames of
NickServ and ChanServ.
[SKIP CI] because this is `git commit --amend` and the build already
passed.
* README template is now cut to two lines for easier reading in non-word
wrapping text editors on normal terminal size.
* README is now saved as `README.md` instead of `README.txt`.
Squashed commit of the following:
commit 7397647f7f5c44a9e883b500b9342936c14c0188
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date: Tue Jun 3 16:23:30 2014 +0300
setup.py: add missing ".1"s.
commit f9a95ebb4900a4b13b0f69fc674d4e9a7f7b019b
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date: Tue Jun 3 16:22:17 2014 +0300
fix c48e9f087daf7c69eca8c01c4e52b5843039a119
Limnoria, not Limnotia!
commit 467480325a4b6e90ac10875316867d9a218a4bc6
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date: Tue Jun 3 16:16:14 2014 +0300
Add manual pages for limnoria*
We already have binaries with name limnoria*, so it makes sense to also
have manual pages.
The `is` operator performs object identity comparison. Changing to `==`
implements the expected behavior.
Use the mock library to add tests verifying the API of questions.yn.