summary refs log tree commit diff stats
path: root/plugins/python
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-08-10 19:44:38 -0400
committerTingPing <tingping@tingping.se>2013-08-10 19:44:38 -0400
commit0b95c1c444fd87583ae87ea3c59e883b5bfbbd0e (patch)
tree6efeb9871254fa3a5c6071558c061a820287b83c /plugins/python
parent41c0c345cd45f01ec313de05aac7a1715ebd4476 (diff)
parent2917a83d7b5c8660d6eb518eb3d781faff32c3d3 (diff)
Merge branch 'pluginreload'
Diffstat (limited to 'plugins/python')
-rw-r--r--plugins/python/python.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/python/python.c b/plugins/python/python.c
index ade5de95..7bedcad9 100644
--- a/plugins/python/python.c
+++ b/plugins/python/python.c
@@ -382,9 +382,6 @@ Usage: /PY LOAD   <filename>\n\
            ABOUT\n\
 \n";
 
-/* Remove if/when HexChat supports this command for plugins */
-static const char reload[] = "Usage: RELOAD <name>, reloads a python script";
-
 static const char about[] = "HexChat Python " PY_VERSION " Interface Version " VERSION "\n";
 
 /* ===================================================================== */
@@ -2855,7 +2852,7 @@ hexchat_plugin_init(hexchat_plugin *plugin_handle,
 	hexchat_hook_command(ph, "PY", HEXCHAT_PRI_NORM, Command_Py, usage, 0);
 	hexchat_hook_command(ph, "LOAD", HEXCHAT_PRI_NORM, Command_Load, 0, 0);
 	hexchat_hook_command(ph, "UNLOAD", HEXCHAT_PRI_NORM, Command_Unload, 0, 0);
-	hexchat_hook_command(ph, "RELOAD", HEXCHAT_PRI_NORM, Command_Reload, reload, 0);
+	hexchat_hook_command(ph, "RELOAD", HEXCHAT_PRI_NORM, Command_Reload, 0, 0);
 #ifdef WITH_THREAD
 	thread_timer = hexchat_hook_timer(ph, 300, Callback_ThreadTimer, NULL);
 #endif