]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/channel.c
- fixed some warnings that showed up with -Wtraditional
[ngircd-alex.git] / src / ngircd / channel.c
index aafb8bc0d91ddc249f1bca19265cbefd880f645f..7f37dba6f3857420f720a136e079b6311a59b6a9 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: channel.c,v 1.38 2002/12/16 23:05:24 alex Exp $";
+static char UNUSED id[] = "$Id: channel.c,v 1.39 2002/12/25 13:22:43 alex Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -468,7 +468,7 @@ Channel_IsValidName( CHAR *Name )
        if(( Name[0] != '#' ) || ( strlen( Name ) >= CHANNEL_NAME_LEN )) return FALSE;
 
        ptr = Name;
-       strcpy( badchars, " ,:\x07" );
+       strcpy( badchars, " ,:\007" );
        while( *ptr )
        {
                if( strchr( badchars, *ptr )) return FALSE;