1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 10:13:12 +02:00

Add options for CTCP, to block/customize CTCP reply (task #9693), add missing CTCP: clientinfo, finger, source, time, userinfo (task #7270)

This commit is contained in:
Sebastien Helleu
2009-09-15 14:42:24 +02:00
parent 6d950cde8f
commit 602c9681d0
26 changed files with 1882 additions and 1168 deletions
+12
View File
@@ -295,6 +295,14 @@ plugin_api_info_get_internal (void *data, const char *info_name,
{
return LOCALEDIR;
}
else if (string_strcasecmp (info_name, "weechat_site") == 0)
{
return WEECHAT_WEBSITE;
}
else if (string_strcasecmp (info_name, "weechat_site_download") == 0)
{
return WEECHAT_WEBSITE_DOWNLOAD;
}
else if (string_strcasecmp (info_name, "charset_terminal") == 0)
{
return weechat_local_charset;
@@ -924,6 +932,10 @@ plugin_api_init ()
&plugin_api_info_get_internal, NULL);
hook_info (NULL, "weechat_localedir", N_("WeeChat \"locale\" directory"),
&plugin_api_info_get_internal, NULL);
hook_info (NULL, "weechat_site", N_("WeeChat site"),
&plugin_api_info_get_internal, NULL);
hook_info (NULL, "weechat_site_download", N_("WeeChat site, download page"),
&plugin_api_info_get_internal, NULL);
hook_info (NULL, "charset_terminal", N_("terminal charset"),
&plugin_api_info_get_internal, NULL);
hook_info (NULL, "charset_internal", N_("WeeChat internal charset"),