From 8d6f4d9d40c68f3174cbe94f7107dea74d00d5fc Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Tue, 30 Oct 2012 08:58:50 +0100 Subject: Some remaining fixes --- plugins/lua/lua.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/lua/lua.c') diff --git a/plugins/lua/lua.c b/plugins/lua/lua.c index 98778e64..6f17b50d 100644 --- a/plugins/lua/lua.c +++ b/plugins/lua/lua.c @@ -1663,7 +1663,7 @@ static int lxc_get_info(lua_State *L) } /* - * lua: xchat.get_prefs(name) + * lua: hexchat.get_prefs(name) * desc: Provides xchat's setting information (that which is available * through the /set command). A few extra bits of information are * available that don't appear in the /set list, currently they are: @@ -1684,7 +1684,7 @@ static int lxc_get_prefs(lua_State *L) * luckily we can store anything in a lua var... this makes the * xchat lua api more user friendly ;-) */ - switch (xchat_get_prefs(ph, name, &str, &i)) { + switch (hexchat_get_prefs(ph, name, &str, &i)) { case 0: /* request failed */ lua_pushnil(L); break; -- cgit 1.4.1