1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

Renamed sources files in script plugins

This commit is contained in:
Sebastien Helleu
2007-10-31 17:39:25 +01:00
parent c008e6474d
commit 02c0dec9cb
16 changed files with 53 additions and 53 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
ADD_LIBRARY(lua MODULE weechat-lua.c)
ADD_LIBRARY(lua MODULE lua.c)
SET_TARGET_PROPERTIES(lua PROPERTIES PREFIX "")
IF(LUA_FOUND)
+1 -1
View File
@@ -20,6 +20,6 @@ libdir = ${weechat_libdir}/plugins
lib_LTLIBRARIES = lua.la
lua_la_SOURCES = weechat-lua.c
lua_la_SOURCES = lua.c
lua_la_LDFLAGS = -module
lua_la_LIBADD = ../lib_weechat_plugins_scripts.la $(LUA_LFLAGS)
@@ -2644,18 +2644,18 @@ weechat_lua_cmd (t_weechat_plugin *plugin,
plugin->print_server (plugin, " (none)");
break;
case 1:
if (plugin->ascii_strcasecmp (plugin, argv[0], "autoload") == 0)
if (plugin->strcasecmp (plugin, argv[0], "autoload") == 0)
weechat_script_auto_load (plugin, "lua", weechat_lua_load);
else if (plugin->ascii_strcasecmp (plugin, argv[0], "reload") == 0)
else if (plugin->strcasecmp (plugin, argv[0], "reload") == 0)
{
weechat_lua_unload_all (plugin);
weechat_script_auto_load (plugin, "lua", weechat_lua_load);
}
else if (plugin->ascii_strcasecmp (plugin, argv[0], "unload") == 0)
else if (plugin->strcasecmp (plugin, argv[0], "unload") == 0)
weechat_lua_unload_all (plugin);
break;
case 2:
if (plugin->ascii_strcasecmp (plugin, argv[0], "load") == 0)
if (plugin->strcasecmp (plugin, argv[0], "load") == 0)
{
/* load Lua script */
path_script = weechat_script_search_full_name (plugin, "lua", argv[1]);
@@ -2663,7 +2663,7 @@ weechat_lua_cmd (t_weechat_plugin *plugin,
if (path_script)
free (path_script);
}
else if (plugin->ascii_strcasecmp (plugin, argv[0], "unload") == 0)
else if (plugin->strcasecmp (plugin, argv[0], "unload") == 0)
{
/* unload Lua script */
weechat_lua_unload_name (plugin, argv[1]);