Index: src/Modules/Topic.pl
===================================================================
--- src/Modules/Topic.pl (revision 1298)
+++ src/Modules/Topic.pl (working copy)
@@ -62,8 +62,11 @@
if ($setby =~ /^(unknown|)$/i) {
push(@topic, $subtopic);
+ # If topicAuthor is on then show it in topic, otherwise just topic -- troubled
+ } elsif ($param{'topicAuthor'} eq "1") {
+ push(@topic, "$subtopic ($setby)");
} else {
- push(@topic, "$subtopic ($setby)");
+ push(@topic, "$subtopic");
}
}
Index: files/sample/blootbot.config
===================================================================
--- files/sample/blootbot.config (revision 1299)
+++ files/sample/blootbot.config (working copy)
@@ -216,6 +216,11 @@
# CLI -- Command Line Interface
set Interface IRC
+# [0/1] Show topic author (troubled)
+# If 1, topics managed with !topic add foo will show the nick in ()'s
+# If 0, the nick of the creator will be recorded for !topic list, but not shown in the topic itself
+set topicAuthor 1
+
####
# Now modify blootbot.chan for per-channel specific configuration see
# sample.chans for info.