racke/Dancer-Plugin-Nitesi — pull request #1 by melmothx (2013-06-27 15:14:28+00:00)
Title: Fixed strange error with empty session due to autovivification

This has nasty consequences. Due to autovivification, the next code
will create and hashref in the $settings variable:

if ($settings->{Query}->{log}) {
$debug = \&_query_debug;
}

The next check on $settings will return true and the plugin_settings
are not loaded anymore.

The bug pops up when the query keyword is called before other code.
The problem is that the "query" itself doesn't use the settings, and
so the bug doesn't affect "query" but all the other keywords.

The patch has been tested and appears to work correctly. The bottom line is that it should not harm.