Skip to content
Browse files

Silently handle the quit command.

  • Loading branch information...
1 parent c1a072d commit 2832b223b0e8c3958c4af29a47d304bb7539930b @jlouis jlouis committed Jul 4, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/pony_client.erl
View
2 src/pony_client.erl
@@ -157,6 +157,8 @@ handle_message(Prefix, Command, Args, #state { nickname = CurNick } = State) ->
{<<>>, ping, [Server]} ->
respond({pong, Server}),
State;
+ {<<>>, quit, [_Message]} ->
+ State;
_ ->
lager:debug("Unhandled message: ~p", [[{prefix, Prefix},
{command, Command},

0 comments on commit 2832b22

Please sign in to comment.
Something went wrong with that request. Please try again.