1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 20:36:38 +02:00

Added IRC colors list in plugin header, fixed get_info for channel info (now ok with pv/dcc chat)

This commit is contained in:
Sebastien Helleu
2006-06-10 18:07:57 +00:00
parent 3b2e2ad006
commit 4e434e4fb3
4 changed files with 38 additions and 2 deletions
+2 -1
View File
@@ -482,7 +482,8 @@ weechat_plugin_get_info (t_weechat_plugin *plugin, char *info, char *server)
}
else if (ascii_strcasecmp (info, "channel") == 0)
{
if (BUFFER_IS_CHANNEL(gui_current_window->buffer))
if (BUFFER_IS_CHANNEL(gui_current_window->buffer)
|| BUFFER_IS_PRIVATE(gui_current_window->buffer))
return strdup (CHANNEL(gui_current_window->buffer)->name);
}
else if (ascii_strcasecmp (info, "server") == 0)