*** 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
1 changed files with 2 additions and 1 deletions

View File

@ -444,7 +444,8 @@ process_channel_list_user(StateData, Chan, User) ->
process_chanprivmsg(StateData, Chan, From, String) ->
[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
[1, $A, $C, $T, $I, $O, $N, $ | Rest] ->
"/me " ++ Rest;