Extend weather command list, add !weather, !погода, !погадка, !погодка, also allow oboobs and obutts plugins in private conversation
This commit is contained in:
@@ -206,6 +206,11 @@ sub PluginEnabled (@) {
|
||||
my $chatid = shift;
|
||||
my $plugin = shift;
|
||||
|
||||
# seems that we have point to return always true if chat is private
|
||||
if ($chatid > 0) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
my $cache = CHI->new (
|
||||
driver => 'BerkeleyDB',
|
||||
root_dir => $cachedir,
|
||||
|
||||
Reference in New Issue
Block a user