- OpenSSL (--enable-openssl in configure script)
- Colored Nicknames (COLORED_NICKS in include/config.h)
- Added NO_TILDE in include/config.h to prevent ~ from being prefixed
- to usernames for which ident could not be retreived (useful when no ident
- is wanted especially)
+ to usernames for which ident could not be retreived, can only be used
+ if DO_IDENT is unset (default for rubiks-ircd)
- Added cleaning of zlib/Makefile and zlib/zconf.h which was missing
in bahamut release
*
*/
-/* $Id: config.h,v 1.6 2005/01/14 05:45:05 mmondor Exp $ */
+/* $Id: config.h,v 1.7 2005/01/14 06:14:28 mmondor Exp $ */
#ifndef __config_include__
#define __config_include__
* identd regardless of @'s in I:lines. You must still use @'s in your
* I: lines to get ircd to do ident lookup even if you define this.
*/
-#define DO_IDENTD
+#undef DO_IDENTD
/* IDENTD_COMPLAIN - yell at users that don't have identd installed */
#undef IDENTD_COMPLAIN
#define FAKEHOST
/* NO_TILDE
- * Prevent tildes to be prefixed to nicknames when identd could not be used
+ * Prevent tildes to be prefixed to nicknames when identd could not be used.
+ * Can only be used if DO_IDENTD is undefined.
*/
#define NO_TILDE
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id: s_user.c,v 1.5 2005/01/14 05:45:06 mmondor Exp $ */
+/* $Id: s_user.c,v 1.6 2005/01/14 06:14:28 mmondor Exp $ */
#include "struct.h"
#include "common.h"
if (sptr->flags & FLAGS_DOID && !(sptr->flags & FLAGS_GOTID))
{
-#ifndef NO_TILDE
+#if defined(DO_IDENTD) || !defined(NO_TILDE)
/* because username may point to user->username */
char temp[USERLEN + 1];
strncpyzt(temp, username, USERLEN + 1);
*user->username = '~';
(void) strncpy(&user->username[1], temp, USERLEN);
- user->username[USERLEN] = '\0';
+#else
+ (void) strncpy(user->username, username, USERLEN - 1);
#endif
+ user->username[USERLEN] = '\0';
#ifdef IDENTD_COMPLAIN
/* tell them to install identd -Taner */
sendto_one(sptr, ":%s NOTICE %s :*** Notice -- It seems that you "