Remove commented-out calls to purple_connection_error. cpw.resiak.disconnectreason

Tue, 18 Sep 2007 22:04:20 +0000

author
Will Thompson <resiak@pidgin.im>
date
Tue, 18 Sep 2007 22:04:20 +0000
branch
cpw.resiak.disconnectreason
changeset 20441
11d00e9f216f
parent 20440
42e5e5445a2f
child 20442
97e2d532c2ac

Remove commented-out calls to purple_connection_error.

libpurple/protocols/irc/irc.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/irc/irc.c	Tue Sep 18 21:56:56 2007 +0000
+++ b/libpurple/protocols/irc/irc.c	Tue Sep 18 22:04:20 2007 +0000
@@ -357,7 +357,6 @@
 	if (pass && *pass) {
 		buf = irc_format(irc, "vv", "PASS", pass);
 		if (irc_send(irc, buf) < 0) {
-/*			purple_connection_error(gc, "Error sending password"); */
 			g_free(buf);
 			return FALSE;
 		}
@@ -389,14 +388,12 @@
 			      strlen(realname) ? realname : IRC_DEFAULT_ALIAS);
 	g_free(tmp);
 	if (irc_send(irc, buf) < 0) {
-/*		purple_connection_error(gc, "Error registering with server");*/
 		g_free(buf);
 		return FALSE;
 	}
 	g_free(buf);
 	buf = irc_format(irc, "vn", "NICK", purple_connection_get_display_name(gc));
 	if (irc_send(irc, buf) < 0) {
-/*		purple_connection_error(gc, "Error sending nickname");*/
 		g_free(buf);
 		return FALSE;
 	}

mercurial