X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=include.pl;h=9cb4f7d55c0dc0f6928c8dd3170d9f79be01cd29;hb=a7cec3a4152ab42e16d6b530f25f960909c72eca;hp=cb27693ad98045eb1a947189119942749a44bf70;hpb=f54a15bafe406d50d04b3ba874dd9b6a6432f118;p=ndwebbie.git diff --git a/include.pl b/include.pl index cb27693..9cb4f7d 100644 --- a/include.pl +++ b/include.pl @@ -40,11 +40,15 @@ sub isOfficer { return exists $ND::GROUPS{Officers}; } +sub isScanner { + return exists $ND::GROUPS{Scanner}; +} + sub parseMarkup { my ($text) = @_; $text =~ s{\n}{\n
}g; - $text =~ s{\[B\](.*?)\[B\]}{$1}; + $text =~ s{\[B\](.*?)\[/B\]}{$1}; return $text; }