don't make command name lowercase; remove 'don't force lowercase' hack
This commit is contained in:
@@ -12,12 +12,6 @@ RString Command::GetName() const
|
|||||||
return RString();
|
return RString();
|
||||||
RString s = m_vsArgs[0];
|
RString s = m_vsArgs[0];
|
||||||
Trim( s );
|
Trim( s );
|
||||||
|
|
||||||
/* Transition hack: if a command begins with !, don't force it to lowercase. */
|
|
||||||
if( s.Left(1) == "!" )
|
|
||||||
s.erase( 0, 1 );
|
|
||||||
else
|
|
||||||
s.MakeLower();
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user