aboutsummaryrefslogtreecommitdiffstats
path: root/chat.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2008-08-31 14:42:33 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2008-08-31 14:42:33 +0100
commit39f93f0ce1c0a179b51f5ff6474d57509e9e0d17 (patch)
tree2471e302b8e5afff153cd1d8c831b9ec0c68f7ed /chat.c
parent0e639f5e5245aa807764162b7f1928b641947658 (diff)
/join can now be used to join chatrooms, join_chat should not be used
anymore. /join should not be used for unnamed groupchats anymore, use "chat with" instead.
Diffstat (limited to 'chat.c')
-rw-r--r--chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chat.c b/chat.c
index a786794e..234c1a23 100644
--- a/chat.c
+++ b/chat.c
@@ -138,7 +138,7 @@ int chat_chancmp( char *a, char *b )
int chat_chanok( char *a )
{
- if( strchr( "&#", a[0] ) != NULL )
+ if( strchr( CTYPES, a[0] ) != NULL )
return nick_ok( a + 1 );
else
return 0;