From 44e404838683b9256f60ccd8e3370a39e27c6b58 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sun, 15 Jan 2012 19:10:31 +0100 Subject: update xsasl according to api changes --- plugins/xsasl/xsasl.c | 6 +++--- 1 file 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); -- cgit 1.4.1