mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 16:23:14 +02:00
Fix function "color" in Lua script API (patch from Christian Heinz)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
WeeChat ChangeLog
|
||||
=================
|
||||
FlashCode <flashcode@flashtux.org>
|
||||
v0.3.2-dev, 2010-02-16
|
||||
v0.3.2-dev, 2010-02-18
|
||||
|
||||
|
||||
Version 0.3.2 (under dev!)
|
||||
@@ -25,6 +25,7 @@ Version 0.3.2 (under dev!)
|
||||
* api: add missing infos in functions buffer_get_integer / buffer_get_string
|
||||
and in buffer infolist
|
||||
* api: add description of arguments for functions hook_info and hook_infolist
|
||||
* api: fix function "color" in Lua script API
|
||||
* irc: add SASL authentication (task #8829)
|
||||
* irc: fix crash with SSL connection if option ssl_cert is set (bug #28752)
|
||||
* irc: fix bug with SSL connection (fails sometimes when ssl_verify is on)
|
||||
|
||||
@@ -2875,7 +2875,7 @@ weechat_lua_api_color (lua_State *L)
|
||||
|
||||
color = lua_tostring (lua_current_interpreter, -1);
|
||||
|
||||
result = weechat_prefix (color);
|
||||
result = weechat_color (color);
|
||||
|
||||
LUA_RETURN_STRING(result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user