]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/s_auth.c
[svn] Backport from early 3.x:
[irc/rqf/shadowircd.git] / src / s_auth.c
index 3494e5b618b15023489d3d7d44a7e605da28154d..6224aa61594ca916dd9265d6281d66927ec8691a 100644 (file)
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: s_auth.c 1683 2006-06-20 14:26:16Z jilles $ */
+ *  $Id: s_auth.c 3161 2007-01-25 07:23:01Z nenolod $ */
 
 /*
  * Changes:
 
 static const char *HeaderMessages[] =
 {
-       "NOTICE AUTH :*** Looking up your hostname...",
-       "NOTICE AUTH :*** Found your hostname",
-       "NOTICE AUTH :*** Couldn't look up your hostname",
-       "NOTICE AUTH :*** Checking Ident",
-       "NOTICE AUTH :*** Got Ident response",
-       "NOTICE AUTH :*** No Ident response",
-       "NOTICE AUTH :*** Your hostname is too long, ignoring hostname",
-       "NOTICE AUTH :*** Your forward and reverse DNS do not match, ignoring hostname",
-       "NOTICE AUTH :*** Cannot verify hostname validity, ignoring hostname",
+       ":*** Looking up your hostname...",
+       ":*** Found your hostname",
+       ":*** Couldn't look up your hostname",
+       ":*** Checking Ident",
+       ":*** Got Ident response",
+       ":*** No Ident response",
+       ":*** Your hostname is too long, ignoring hostname",
+       ":*** Your forward and reverse DNS do not match, ignoring hostname",
+       ":*** Cannot verify hostname validity, ignoring hostname",
 };
 
 typedef enum
@@ -87,7 +87,7 @@ typedef enum
 }
 ReportType;
 
-#define sendheader(c, r) sendto_one(c, HeaderMessages[(r)]) 
+#define sendheader(c, r) sendto_one_notice(c, HeaderMessages[(r)]) 
 
 static dlink_list auth_poll_list;
 static BlockHeap *auth_heap;
@@ -400,10 +400,6 @@ start_auth(struct Client *client)
        if(client == NULL)
                return;
 
-       /* to aid bopm which needs something unique to match against */
-       sendto_one(client, "NOTICE AUTH :*** Processing connection to %s",
-                       me.name);
-
        auth = make_auth_request(client);
 
        auth->dns_query.ptr = auth;