diff options
| author | Florian Westphal <fw@strlen.de> | 2005-06-18 08:57:37 +0000 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2005-06-18 08:57:37 +0000 |
| commit | d81dab99fa28f21054fc7c5678cbd973b0ab5283 (patch) | |
| tree | 69398e6d230d93ae88e07d76a6242ea6771944e0 /src | |
| parent | 9dc5e50226c2a2c1b7fbd334ab611487a6260118 (diff) | |
| download | ngircd-d81dab99fa28f21054fc7c5678cbd973b0ab5283.tar.gz ngircd-d81dab99fa28f21054fc7c5678cbd973b0ab5283.zip | |
put badchars back in
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/channel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/channel.c b/src/ngircd/channel.c index 1b7963a2..9ff4c1b5 100644 --- a/src/ngircd/channel.c +++ b/src/ngircd/channel.c @@ -17,7 +17,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: channel.c,v 1.49 2005/06/17 19:16:53 fw Exp $"; +static char UNUSED id[] = "$Id: channel.c,v 1.50 2005/06/18 08:57:37 fw 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; - badchars[0] = '\0'; + strcpy( badchars, " ,:\007" ); while( *ptr ) { if( strchr( badchars, *ptr )) return false; |