1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-23 19:36: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(python MODULE weechat-python.c)
ADD_LIBRARY(python MODULE python.c)
SET_TARGET_PROPERTIES(python PROPERTIES PREFIX "")
+1 -1
View File
@@ -20,6 +20,6 @@ libdir = ${weechat_libdir}/plugins
lib_LTLIBRARIES = python.la
python_la_SOURCES = weechat-python.c
python_la_SOURCES = python.c
python_la_LDFLAGS = -module
python_la_LIBADD = ../lib_weechat_plugins_scripts.la $(PYTHON_LFLAGS)
@@ -2604,18 +2604,18 @@ weechat_python_cmd (t_weechat_plugin *plugin,
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, "python", weechat_python_load);
else if (plugin->ascii_strcasecmp (plugin, argv[0], "reload") == 0)
else if (plugin->strcasecmp (plugin, argv[0], "reload") == 0)
{
weechat_python_unload_all (plugin);
weechat_script_auto_load (plugin, "python", weechat_python_load);
}
else if (plugin->ascii_strcasecmp (plugin, argv[0], "unload") == 0)
else if (plugin->strcasecmp (plugin, argv[0], "unload") == 0)
weechat_python_unload_all (plugin);
break;
case 2:
if (plugin->ascii_strcasecmp (plugin, argv[0], "load") == 0)
if (plugin->strcasecmp (plugin, argv[0], "load") == 0)
{
/* load Python script */
path_script = weechat_script_search_full_name (plugin, "python", argv[1]);
@@ -2623,7 +2623,7 @@ weechat_python_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 Python script */
weechat_python_unload_name (plugin, argv[1]);