mirror of
https://github.com/progval/irctest.git
synced 2025-04-07 07:49:52 +00:00
bahamut CI
This commit is contained in:
20
bahamut_localhost.patch
Normal file
20
bahamut_localhost.patch
Normal file
@ -0,0 +1,20 @@
|
||||
Allows connections from localhost
|
||||
|
||||
diff --git a/src/s_user.c b/src/s_user.c
|
||||
index 317b00e..adfcfcf 100644
|
||||
--- a/src/s_user.c
|
||||
+++ b/src/s_user.c
|
||||
@@ -594,13 +594,6 @@ register_user(aClient *cptr, aClient *sptr, char *nick, char *username,
|
||||
dots = 1;
|
||||
}
|
||||
|
||||
- if (!dots)
|
||||
- {
|
||||
- sendto_realops("Invalid hostname for %s, dumping user %s",
|
||||
- sptr->hostip, sptr->name);
|
||||
- return exit_client(cptr, sptr, &me, "Invalid hostname");
|
||||
- }
|
||||
-
|
||||
if (bad_dns)
|
||||
{
|
||||
sendto_one(sptr, ":%s NOTICE %s :*** Notice -- You have a bad "
|
Reference in New Issue
Block a user