diff options
-rw-r--r-- | app/lib/bangtags.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb index 0029dced9..10076f074 100644 --- a/app/lib/bangtags.rb +++ b/app/lib/bangtags.rb @@ -614,7 +614,7 @@ class Bangtags else v = cmd[1].downcase status.visibility = visibilities[v] unless visibilities[v].nil? - case cmd[2].downcase + case cmd[2]&.downcase when 'federate', 'f', 'public', 'p', 'world' status.local_only = false when 'nofederate', 'nf', 'localonly', 'lo', 'local', 'l', 'monsterpit', 'm', 'community', 'c' |