summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index 90fae9b..5c5101b 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -1821,7 +1821,7 @@ void Cmd_CallVote_f( gentity_t *ent )
trap_Argv( 1, arg1, sizeof( arg1 ) );
trap_Argv( 2, arg2, sizeof( arg2 ) );
- if( strchr( arg1plus, ';' ) )
+ if( strchr( arg1plus, '\n' ) || strchr( arg1plus, '\r' ) )
{
trap_SendServerCommand( ent-g_entities, "print \"Invalid vote string\n\"" );
return;