Mercurial > pidgin.yaz
diff libpurple/protocols/irc/irc.c @ 32767:2ec94166be43
On the way to hiding the PurpleConnection struct.
* Added purple_connection_get_flags() and purple_connection_set_flags()
* Use purple_connection_ accessor functions.
author | andrew.victor@mxit.com |
---|---|
date | Tue, 18 Oct 2011 18:47:48 +0000 |
parents | 10e5000326a5 |
children | 50cd80d3554e |
line wrap: on
line diff
--- a/libpurple/protocols/irc/irc.c Tue Oct 18 04:47:58 2011 +0000 +++ b/libpurple/protocols/irc/irc.c Tue Oct 18 18:47:48 2011 +0000 @@ -356,7 +356,7 @@ const char *username = purple_account_get_username(account); gc = purple_account_get_connection(account); - gc->flags |= PURPLE_CONNECTION_NO_NEWLINES; + purple_connection_set_flags(gc, PURPLE_CONNECTION_NO_NEWLINES); if (strpbrk(username, " \t\v\r\n") != NULL) { purple_connection_error (gc,