diff options
Diffstat (limited to 'doc/weechat_doc_en.texi')
-rw-r--r-- | doc/weechat_doc_en.texi | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/doc/weechat_doc_en.texi b/doc/weechat_doc_en.texi index 651dbdda5..37316b4fc 100644 --- a/doc/weechat_doc_en.texi +++ b/doc/weechat_doc_en.texi @@ -2015,7 +2015,7 @@ None.@* @item @command{char *get_info (t_weechat_plugin -*plugin, char *info, char *server, char *channel)}@* +*plugin, char *info, char *server)}@* @* Return an info about WeeChat or a channel.@* @@ -2034,7 +2034,6 @@ Return an info about WeeChat or a channel.@* @item @option{weechat_sharedir}: get WeeChat system share dir @end itemize @item @option{server}: name of server for reading info (if needed) -@item @option{channel}: name of channel for reading info (if needed) @end itemize @* @emph{Return value:}@* @@ -2045,8 +2044,8 @@ use.@* @* @emph{Examples:}@* @* -@code{char *version = plugin->get_info (plugin, "version", NULL, NULL);}@* -@code{char *nick = plugin->get_info (plugin, "nick", "freenode", NULL);}@* +@code{char *version = plugin->get_info (plugin, "version", NULL);}@* +@code{char *nick = plugin->get_info (plugin, "nick", "freenode");}@* @* @item @@ -2553,8 +2552,8 @@ Execute a command or send a message to a channel.@* @* @item -Perl: @command{weechat::get_info ( name, [server, [channel] ] );}@* -Python: @command{weechat.get_info ( name, [server, [channel] ] )}@* +Perl: @command{weechat::get_info ( name, [server] );}@* +Python: @command{weechat.get_info ( name, [server] )}@* @* Get various info about WeeChat, server or user.@* @@ -2573,7 +2572,6 @@ Get various info about WeeChat, server or user.@* @end itemize @item @option{server}: internal name of server -@item @option{channel}: channel name @end itemize @* @emph{Return value:}@* |