File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2227,7 +2227,9 @@ bool C_Responder(event_t *ev)
2227
2227
{
2228
2228
bool result = false;
2229
2229
2230
- if (M_StringStartsWith (consoleinput , "bind " ) || M_StringStartsWith (consoleinput , "unbind " ))
2230
+ if (M_StringStartsWith (consoleinput , "bind " )
2231
+ || M_StringStartsWith (consoleinput , "unbind " )
2232
+ || M_StringStartsWith (consoleinput , "alias " ))
2231
2233
{
2232
2234
if (C_ValidateInput (consoleinput ))
2233
2235
result = true;
@@ -2374,7 +2376,8 @@ bool C_Responder(event_t *ev)
2374
2376
for (i = len - 1 ; i >= 0 ; i -- )
2375
2377
if ((consoleinput [i ] == ';'
2376
2378
&& M_StringStartsWith (consoleinput , "bind" )
2377
- && M_StringStartsWith (consoleinput , "unbind" ))
2379
+ && M_StringStartsWith (consoleinput , "unbind" )
2380
+ && M_StringStartsWith (consoleinput , "alias" ))
2378
2381
|| (consoleinput [i ] == '"'
2379
2382
&& M_StringStartsWith (consoleinput , "bind" )))
2380
2383
break ;
You can’t perform that action at this time.
0 commit comments