X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=remoteglot.pl;h=b248d5f74b1568f162b3b5685d0d3a739243991c;hp=b66fd2c43acec6f6a9db5703e06e1f42a3fc9d90;hb=f45d6376e3ca0bbdbfad739ad3a771d3faa7cfdc;hpb=a804bc0791d0dada8935fc2c752d5945ff6e5e42 diff --git a/remoteglot.pl b/remoteglot.pl index b66fd2c..b248d5f 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -180,6 +180,9 @@ sub handle_fics { } elsif ($msg =~ /^stoppgn$/) { $t->cmd("tell $who Stopping poll."); $http_timer = undef; + } elsif ($msg =~ /^quit$/) { + $t->cmd("tell $who Bye bye."); + exit; } else { $t->cmd("tell $who Couldn't understand '$msg', sorry."); }