25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

*** empty log message ***

SVN Revision: 77
This commit is contained in:
Alexey Shchepin 2003-02-17 20:01:48 +00:00
parent 597c935661
commit 17000076ad

View File

@ -444,7 +444,8 @@ process_channel_list_user(StateData, Chan, User) ->
process_chanprivmsg(StateData, Chan, From, String) -> process_chanprivmsg(StateData, Chan, From, String) ->
[FromUser | _] = string:tokens(From, "!"), [FromUser | _] = string:tokens(From, "!"),
Msg = lists:last(string:tokens(String, ":")), {ok, Msg, _} = regexp:sub(String, ".*PRIVMSG[^:]*:", ""),
%Msg = lists:last(string:tokens(String, ":")),
Msg1 = case Msg of Msg1 = case Msg of
[1, $A, $C, $T, $I, $O, $N, $ | Rest] -> [1, $A, $C, $T, $I, $O, $N, $ | Rest] ->
"/me " ++ Rest; "/me " ++ Rest;