summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9514f09)
- $chan = "*" => "_default" for IsChanConf - fixed.
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@498
c11ca15a-4712-0410-83d8-
924469b57eb5
Help => 'tell', Identifier => 'allowTelling',
Cmdstats => 'Tell') );
&addCmdHook("main", 'news', ('CODEREF' => 'News::Parse',
Help => 'tell', Identifier => 'allowTelling',
Cmdstats => 'Tell') );
&addCmdHook("main", 'news', ('CODEREF' => 'News::Parse',
- Module => 'news', 'Cmdstats' => 'News',
- Identifier => 'news' ) );
+ Module => 'news', 'Cmdstats' => 'News' ) );
&addCmdHook("main", 'countrystats', ('CODEREF' => 'countryStats',
# Forker => "NULL",
) );
&addCmdHook("main", 'countrystats', ('CODEREF' => 'countryStats',
# Forker => "NULL",
) );
$c ||= $chan;
$c ||= "_default";
$c ||= $chan;
$c ||= "_default";
+ $c = "_default" if ($c eq "*"); # fix!
my @c = grep /^$c$/i, keys %chanconf;
if (@c) {
my @c = grep /^$c$/i, keys %chanconf;
if (@c) {