diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-06-17 16:01:09 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-06-17 16:01:09 +0200 |
commit | af87798455e9d82773094a3c274ecb991af41ed9 (patch) | |
tree | 32de00c475b9f127003d6e663d6e8f98f13ad3ad /src/plugins/demo | |
parent | 860842240b2c3f673a2265716359cb6605048386 (diff) | |
download | weechat-af87798455e9d82773094a3c274ecb991af41ed9.zip |
New plugin "notify", new option for debug messages in plugins
Diffstat (limited to 'src/plugins/demo')
-rw-r--r-- | src/plugins/demo/demo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/demo/demo.c b/src/plugins/demo/demo.c index b0977f0da..50deeae5e 100644 --- a/src/plugins/demo/demo.c +++ b/src/plugins/demo/demo.c @@ -411,6 +411,8 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) weechat_plugin = plugin; + demo_debug = weechat_config_boolean (weechat_config_get ("weechat.plugin.debug")); + weechat_hook_command ("demo_printf", _("print some messages on current ubffer"), _("[text]"), |