]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc-server.c
Add Doxygen @file documentation to each source and header file
[ngircd-alex.git] / src / ngircd / irc-server.c
index ca2502dc62414008abdd558a715d458436aa8b2c..8877a13c7e09ea7f0fa6ac6196336a119fc61dd3 100644 (file)
@@ -7,13 +7,16 @@
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
- *
- * IRC commands for server links
  */
 
 
 #include "portab.h"
 
+/**
+ * @file
+ * IRC commands for server links
+ */
+
 #include "imp.h"
 #include <assert.h>
 #include <stdio.h>
 #include <strings.h>
 
 #include "defines.h"
-#include "resolve.h"
 #include "conn.h"
 #include "conn-func.h"
 #include "conn-zip.h"
 #include "conf.h"
-#include "client.h"
 #include "channel.h"
 #include "irc-write.h"
 #include "lists.h"
@@ -332,6 +333,10 @@ IRC_SQUIT(CLIENT * Client, REQUEST * Req)
                /* We are directly connected to the target server, so we
                 * have to tear down the connection and to inform all the
                 * other remaining servers in the network */
+               IRC_SendWallops(Client_ThisServer(), Client_ThisServer(),
+                               "Received SQUIT %s from %s: %s",
+                               Req->argv[0], Client_ID(from),
+                               Req->argv[1][0] ? Req->argv[1] : "-");
                Conn_Close(con, NULL, msg, true);
                if (con == Client_Conn(Client))
                        return DISCONNECTED;