summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2012-01-15 19:10:31 +0100
committerBerke Viktor <berkeviktor@aol.com>2012-01-15 19:10:31 +0100
commit44e404838683b9256f60ccd8e3370a39e27c6b58 (patch)
treeab94c2d33c2e08e5589090af2f8a4ff03c02449b /plugins
parent4942dc667f3ff40601b7afd2efd91dff1f73789a (diff)
update xsasl according to api changes
Diffstat (limited to 'plugins')
-rw-r--r--plugins/xsasl/xsasl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/xsasl/xsasl.c b/plugins/xsasl/xsasl.c
index cbf569e2..2b2ec0c7 100644
--- a/plugins/xsasl/xsasl.c
+++ b/plugins/xsasl/xsasl.c
@@ -60,13 +60,13 @@ add_info (char const* login, char const* password, char const* network)
 	char buffer[512];
 
 	sprintf (buffer, "%s:%s", login, password);
-	return xchat_set_pluginpref_str (ph, network, buffer);
+	return xchat_pluginpref_set_str (ph, network, buffer);
 }
 
 static int
 del_info (char const* network)
 {
-	return xchat_del_pluginpref (ph, network);
+	return xchat_pluginpref_delete (ph, network);
 }
 
 static sasl_info*
@@ -76,7 +76,7 @@ find_info (char const* network)
 	char* token;
 	sasl_info* cur = (sasl_info*) malloc (sizeof (sasl_info));
 
-	if (xchat_get_pluginpref_str (ph, network, buffer))
+	if (xchat_pluginpref_get_str (ph, network, buffer))
 	{
 		token = strtok (buffer, ":");
 		cur->login = g_strdup (token);