]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_connect.c
Remove ^M on line endings.
[irc/rqf/shadowircd.git] / modules / m_connect.c
index ce15ef2dc717965c57ad2576ea5e5e18441704b9..deb83b8d93438bc47a4f21f5a52c6edc466b226b 100644 (file)
@@ -98,12 +98,12 @@ mo_connect(struct Client *client_p, struct Client *source_p, int parc, const cha
                return 0;
        }
 
-       if(ServerConfSSL(server_p) && (!ssl_ok || !get_ssld_count()))\r
-       {\r
-               sendto_one_notice(source_p,\r
-                                 ":Connect: Server %s is set to use SSL/TLS but SSL/TLS is not configured.",\r
-                                 parv[1]);\r
-               return 0;\r
+       if(ServerConfSSL(server_p) && (!ssl_ok || !get_ssld_count()))
+       {
+               sendto_one_notice(source_p,
+                                 ":Connect: Server %s is set to use SSL/TLS but SSL/TLS is not configured.",
+                                 parv[1]);
+               return 0;
        }
 
        /*
@@ -200,12 +200,12 @@ ms_connect(struct Client *client_p, struct Client *source_p, int parc, const cha
                return 0;
        }
 
-       if(ServerConfSSL(server_p) && (!ssl_ok || !get_ssld_count()))\r
-       {\r
-               sendto_one_notice(source_p,\r
-                                 ":Connect: Server %s is set to use SSL/TLS but SSL/TLS is not configured.",\r
-                                 parv[1]);\r
-               return 0;\r
+       if(ServerConfSSL(server_p) && (!ssl_ok || !get_ssld_count()))
+       {
+               sendto_one_notice(source_p,
+                                 ":Connect: Server %s is set to use SSL/TLS but SSL/TLS is not configured.",
+                                 parv[1]);
+               return 0;
        }
 
        /*