changeset 2147:134058953a43

[gaim-migrate @ 2157] hi rob committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 15 Aug 2001 19:54:45 +0000
parents 0feaa347a35b
children bf7e9e9580b9
files src/protocols/irc/irc.c
diffstat 1 files changed, 24 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/irc/irc.c	Wed Aug 15 19:42:13 2001 +0000
+++ b/src/protocols/irc/irc.c	Wed Aug 15 19:54:45 2001 +0000
@@ -599,19 +599,39 @@
 	if (((strstr(buf, "ERROR :") && (!strstr(buf, "PRIVMSG ")) &&
 	      (!strstr(buf, "NOTICE ")) && (strlen(buf) > 7)))) {
 
+		/*
+		 * The ERROR command is for use by servers when reporting a serious or
+		 * fatal error to its operators.  It may also be sent from one server to
+		 * another but must not be accepted from any normal unknown clients.
+		 *
+		 * An ERROR message is for use for reporting errors which occur with a
+		 * server-to-server link only.  An ERROR message is sent to the server
+		 * at the other end (which sends it to all of its connected operators)
+		 * and to all operators currently connected.  It is not to be passed
+		 * onto any other servers by a server if it is received from a server.
+		 *
+		 * When a server sends a received ERROR message to its operators, the
+		 * message should be encapsulated inside a NOTICE message, indicating
+		 * that the client was not responsible for the error.
+		 *
+		 *
+		 * Basically, ignore this.
+		 *
 		gchar *u_errormsg;
 
-		/* Let's get our error message */
+		* Let's get our error message *
 		u_errormsg = g_strdup(buf + 7);
 
-		/* We got our error message.  Now, let's reaise an
-		 * error dialog */
+		* We got our error message.  Now, let's reaise an
+		 * error dialog *
 
 		do_error_dialog(u_errormsg, "Gaim: IRC Error");
 
-		/* And our necessary garbage collection */
+		* And our necessary garbage collection *
 		g_free(u_errormsg);
 		return;
+
+		*/
 	}
 
 	/* This should be a whois response. I only care about the first (311) one.  I might do