default mode to disable
This commit is contained in:
parent
c22cdac1cb
commit
0ed4c618dc
@ -85,8 +85,11 @@ func SystemControl( tgMesg *tgbotapi.Message ) ( string, bool ) {
|
||||
//// Begin processing settings
|
||||
|
||||
// ignore chats if enabled
|
||||
if Settings.IgnoredChats[ chatId ] {
|
||||
processed = true
|
||||
if ignore, ok := Settings.IgnoredChats[ chatId ]; ok {
|
||||
processed = processed || ignore;
|
||||
} else {
|
||||
// default ignore
|
||||
processed = true;
|
||||
}
|
||||
|
||||
return mesg, processed
|
||||
|
Loading…
Reference in New Issue
Block a user