diff options
Diffstat (limited to 'src/chat.cpp')
| -rwxr-xr-x | src/chat.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chat.cpp b/src/chat.cpp index 38d7a6a..da574c7 100755 --- a/src/chat.cpp +++ b/src/chat.cpp @@ -137,6 +137,8 @@ chat::post( user* p_user, map_string &map_params ) string s_msg( map_params["message"] ); auto unsigned i_pos = s_msg.find( "/" ); + if ( i_pos == 0 ) + return p_user->command( s_msg ); if ( b_strip_html ) s_tool::strip_html( &s_msg ); |
