]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc-server.c
Implement Client_HostnameCloaked() and Client_MaskCloaked()
[ngircd-alex.git] / src / ngircd / irc-server.c
index ca2502dc62414008abdd558a715d458436aa8b2c..e7ff726a208dce9c4c857962d3ed84fcdc4bc1b5 100644 (file)
 #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 +330,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;