git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@408
c11ca15a-4712-0410-83d8-
924469b57eb5
return unless (&hasParam("topic"));
my $chan = $talkchannel;
- my @args = split(/ /, $2);
+ my @args = split / /, $2 || "";
if (!scalar @args) {
&msg($who,"Try 'help topic'");
return unless (defined $param);
my %chan = &getChanConfList($param);
- # what if we have it set on _default and a few channels with
- # negative set? perhaps we should disable -blah settings to remove
- # this mess.
-
if (exists $chan{_default}) {
return keys %chanconf;
} else {
- ### TODO: -option is included aswell though.
return keys %chan;
}
}
if (!&IsParam($_) and !&IsChanConf($_)) {
if (exists $myModules{$_}) {
- &DEBUG("myModule: $myModules{$_} (1) not loaded.");
+ &status("myModule: $myModules{$_} (1) not loaded.");
} else {
&DEBUG("myModule: $_ (2) not loaded.");
}