X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2FProcess.pl;h=08dcc579019f7fe7375eb2326b9b52dfab76595d;hb=a595e00c61a3e01321e77a6667392cbb4ae0b90b;hp=1e1cbbfb3a6e19e7d7c9d5a7e4d4581511559299;hpb=875757af015e51a0d7eaad712a1ab6b4385b7dd5;p=infobot.git diff --git a/src/Process.pl b/src/Process.pl index 1e1cbbf..08dcc57 100644 --- a/src/Process.pl +++ b/src/Process.pl @@ -104,15 +104,6 @@ sub process { # once useless messages have been parsed out, we match them. ### - # addressed. - if ($message =~ /^\Q$ident\E\s*\?*$/i) { - &status("feedback addressing from $who"); - - &performReply("yes?"); - - return; - } - # confused? is this for infobot communications? foreach (keys %{$lang{'confused'}}) { my $y = $_; @@ -216,6 +207,7 @@ sub process { # here's where the external routines get called. # if they return anything but null, that's the "answer". if ($addressed) { + &parseCmdHook(); my $er = &Modules(); if ($er =~ /\S/) { &performStrictReply($er) if ($er ne $noreply);