aboutsummaryrefslogtreecommitdiffstats
path: root/irc_channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc_channel.c')
-rw-r--r--irc_channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/irc_channel.c b/irc_channel.c
index c8ee7a92..2ff00068 100644
--- a/irc_channel.c
+++ b/irc_channel.c
@@ -210,9 +210,9 @@ static gboolean control_channel_privmsg( irc_channel_t *ic, const char *msg )
const char *s;
/* Scan for non-whitespace chars followed by a colon: */
- for( s = msg; *s && !isspace( *s ) && *s != ':'; s ++ ) {}
+ for( s = msg; *s && !isspace( *s ) && *s != ':' && *s != ','; s ++ ) {}
- if( *s == ':' )
+ if( *s == ':' || *s == ',' )
{
char to[s-msg+1];
irc_user_t *iu;