Author: DNB
Date: Fri May 27 21:56:35 2005
New Revision: 2626
Modified:
trunk/ChangeLog
trunk/src/auth.c
Log:
allow SERVICEROOT to check against IP Address as well as Host
Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Fri May 27 21:56:35 2005
@@ -4,6 +4,7 @@
Fish (F), Mark (M), DeadNotBuried (D)
===============================================================================
* NeoStats * Version 3.0.a3-dev
+ - allow SERVICEROOT to check against IP Address as well as Host (D)
- check if exclusions are already included in list before adding (D)
- attempt to find bot unused nickname when both nick and altnick in use (D)
- QuoteServ: add option to use global excludes (D)
Modified: trunk/src/auth.c
==============================================================================
--- trunk/src/auth.c (original)
+++ trunk/src/auth.c Fri May 27 21:56:35 2005
@@ -65,7 +65,8 @@
/* Test client nick!user@host against the configured service root */
if( ( match( nsconfig.rootuser.nick, u->name ) ) &&
( match( nsconfig.rootuser.user, u->user->username ) ) &&
- ( match( nsconfig.rootuser.host, u->user->hostname ) ) ) {
+ ( match( nsconfig.rootuser.host, u->user->hostname ) ||
+ match( nsconfig.rootuser.host, u->hostip ) ) ) {
return NS_TRUE;
}
return NS_FALSE;
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.