[NeoStats-Devel] [Commits] r2713 - trunk/modules/hostserv

[email protected] Sat, 13 Aug 2005 19:33:41 +1000
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Fish
Date: Sat Aug 13 17:33:35 2005
New Revision: 2713

Modified:
   trunk/modules/hostserv/hostserv.c
Log:
This doesn't work with hidden hosts

Modified: trunk/modules/hostserv/hostserv.c
==============================================================================
--- trunk/modules/hostserv/hostserv.c	(original)
+++ trunk/modules/hostserv/hostserv.c	Sat Aug 13 17:33:35 2005
@@ -387,10 +387,12 @@
 		default:
 			if( *modes == UmodeChRegNick ) {
 				if( add ) {
+#if 0
 					if( IsUserSetHosted( cmdparams->source ) ) {
 						dlog( DEBUG2, "not setting hidden host on %s", cmdparams->av[0] );
 						return -1;
 					}
+#endif
 					dlog( DEBUG2, "Regnick Mode on %s", cmdparams->av[0] );
 					ircsnprintf( vhost, MAXHOST, "%s.%s", cmdparams->av[0], hs_cfg.vhostdom );
 					irc_svshost( hs_bot, cmdparams->source, vhost );