summary refs log tree commit diff stats
path: root/share/doc/plugins.md
diff options
context:
space:
mode:
Diffstat (limited to 'share/doc/plugins.md')
-rw-r--r--share/doc/plugins.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/doc/plugins.md b/share/doc/plugins.md
index aee9d174..bf2255c1 100644
--- a/share/doc/plugins.md
+++ b/share/doc/plugins.md
@@ -875,7 +875,7 @@ A few extra bits of information are available that don't appear in the _/SET_ li
 	int i;
 	const char *str;
 
-	if (xchat_get_prefs (ph, "irc_nick1", &str, &i) == 1)
+	if (hexchat_get_prefs (ph, "irc_nick1", &str, &i) == 1)
 	{
 		hexchat_printf (ph, "Current nickname setting: %s\n", str);
 	}