summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src/ignore.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-07 13:12:43 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-07 13:12:43 +0000
commita5184b5e19951983bb9f699807cd9c5cf206c7ce (patch)
tree2f6d73676790a44dd3e194f7825abb36864de6f8 /protocols/Yahoo/src/ignore.cpp
parent1d18d087d47d7a54f68950f983029642a54d6f43 (diff)
YAHOO search -> utf8
git-svn-id: http://svn.miranda-ng.org/main/trunk@14049 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src/ignore.cpp')
-rw-r--r--protocols/Yahoo/src/ignore.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/protocols/Yahoo/src/ignore.cpp b/protocols/Yahoo/src/ignore.cpp
index 1f87658371..24f0d96957 100644
--- a/protocols/Yahoo/src/ignore.cpp
+++ b/protocols/Yahoo/src/ignore.cpp
@@ -17,7 +17,7 @@ const YList* CYahooProto::GetIgnoreList(void)
{
if (m_id < 1)
return NULL;
-
+
return yahoo_get_ignorelist(m_id);
}
@@ -25,7 +25,7 @@ void CYahooProto::IgnoreBuddy(const char *buddy, int ignore)
{
if (m_id < 1)
return;
-
+
yahoo_ignore_buddy(m_id, buddy, ignore);
//yahoo_get_list(m_id);
}
@@ -36,7 +36,7 @@ int CYahooProto::BuddyIgnored(const char *who)
const YList *l = GetIgnoreList();
while (l != NULL) {
struct yahoo_buddy *b = (struct yahoo_buddy *) l->data;
-
+
if (mir_strcmpi(b->id, who) == 0) {
//LOG(("User '%s' on our Ignore List. Dropping Message.", who));
return 1;
@@ -48,19 +48,19 @@ int CYahooProto::BuddyIgnored(const char *who)
}
void CYahooProto::ext_got_ignore(YList * igns)
-{
+{
YList *l = igns;
-
- LOG(("[ext_yahoo_got_ignore] Got Ignore List"));
-
+
+ LOG(("[ext_yahoo_got_ignore] Got Ignore List"));
+
while (l != NULL) {
struct yahoo_buddy *b = (struct yahoo_buddy *) l->data;
- debugLogA("[ext_yahoo_got_ignore] Buddy: %s", b->id );
-
+ debugLogA("[ext_yahoo_got_ignore] Buddy: %s", b->id);
+
l = l->next;
}
-
- debugLogA("[ext_yahoo_got_ignore] End Of Ignore List");
+
+ debugLogA("[ext_yahoo_got_ignore] End Of Ignore List");
}