summary refs log tree commit diff stats
path: root/plugins/tcl
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/tcl')
-rw-r--r--plugins/tcl/tclplugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/tcl/tclplugin.c b/plugins/tcl/tclplugin.c
index ec17aef5..f0cc2429 100644
--- a/plugins/tcl/tclplugin.c
+++ b/plugins/tcl/tclplugin.c
@@ -1081,7 +1081,7 @@ static int tcl_prefs(ClientData cd, Tcl_Interp * irp, int argc, const char *argv
 
     BADARGS(2, 2, " name");
 
-    switch (xchat_get_prefs (ph, argv[1], &str, &i)) {
+    switch (hexchat_get_prefs (ph, argv[1], &str, &i)) {
         case 1:
             Tcl_AppendResult(irp, str, NULL);
             break;