diff --git a/PBot/Interpreter.pm b/PBot/Interpreter.pm index c057370d..1e6c26ec 100644 --- a/PBot/Interpreter.pm +++ b/PBot/Interpreter.pm @@ -170,6 +170,10 @@ sub interpret { my $text; my $pbot = $self->{pbot}; + if (not exists $context->{hostmask}) { + $context->{hostmask} = "$context->{nick}!$context->{user}\@$context->{host}"; + } + $context->{interpret_depth}++; $pbot->{logger}->log("=== [$context->{interpret_depth}] Got command: ("