- Fake hosts for opers (FAKEHOST in include/config.h)
- DCC Allow patch (DCCALLOW in include/config.h)
- 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, can only be used
if DO_IDENT is unset (default for rubiks-ircd)
*
*/
-/* $Id: config.h,v 1.12 2005/01/15 23:35:02 mwiggins Exp $ */
+/* $Id: config.h,v 1.13 2005/03/07 19:14:48 mwiggins Exp $ */
#ifndef __config_include__
#define __config_include__
*/
#undef DCCALLOW
-/* COLORED_NICKS
- * Allow ^C character in nicks to facilitate IRC colors
- */
-#define COLORED_NICKS
-
/* FAKEHOST
* Allow opers to use fake hostnames
*/
*
*/
-/* $Id: struct.h,v 1.6 2005/01/14 07:50:01 mwiggins Exp $ */
+/* $Id: struct.h,v 1.7 2005/03/07 19:14:49 mwiggins Exp $ */
#ifndef __struct_include__
#define __struct_include__
#define BadPtr(x) (!(x) || (*(x) == '\0'))
-#ifdef COLORED_NICKS
-#define isvalid(c) (((c) >= 'A' && (c) < '~') || (c) == '\003' || IsDigit(c) || (c) == '-')
-#else
#define isvalid(c) (((c) >= 'A' && (c) < '~') || IsDigit(c) || (c) == '-')
-#endif
#define MyConnect(x) ((x)->fd >= 0)
#define MyClient(x) (MyConnect(x) && IsClient(x))
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id: m_nick.c,v 1.3 2005/01/13 08:06:45 mmondor Exp $ */
+/* $Id: m_nick.c,v 1.4 2005/03/07 19:14:49 mwiggins Exp $ */
#include "struct.h"
#include "common.h"
return 0;
}
-#ifdef COLORED_NICKS
- {
- char *p;
-
- if ( (p = strrchr(parv[1], '\003')) &&
- ((p[1] >= '0') && (p[1] <= '9')) )
- {
- int n = strlen(parv[1]);
-
- parv[1][ (n < NICKLEN) ? n : NICKLEN ] = '\003';
- }
- }
-#endif
-
if (!IsServer(sptr) && IsServer(cptr) && parc > 2)
newts = atol(parv[2]);
else if (IsServer(sptr) && parc > 3)