X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=include.pl;h=9cb4f7d55c0dc0f6928c8dd3170d9f79be01cd29;hb=953715f304d9fa3ef75180db134461faf542fd66;hp=eab857ee916101c6c0fff8631c96d099577c4eda;hpb=073463a38ef44b632155ffd6f4e61f4e1370a821;p=ndwebbie.git
diff --git a/include.pl b/include.pl
index eab857e..9cb4f7d 100644
--- a/include.pl
+++ b/include.pl
@@ -36,11 +36,19 @@ sub isBC {
return exists $ND::GROUPS{BC};
}
+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;
}