summaryrefslogtreecommitdiff
path: root/src/chat.cpp
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:45 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:45 +0200
commitd34015c5ba231b95de20e9fcd7a33c5b2b9a1006 (patch)
treeceac33bd27e3b1158a0ac4e17f7fd7e5e6473fea /src/chat.cpp
parentc507ce3198ea4d822832cc8740f0128df8873c02 (diff)
tagging ychat-0.5.3ychat-0.5.3
Diffstat (limited to 'src/chat.cpp')
-rwxr-xr-xsrc/chat.cpp2
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 );