about summary refs log tree commit diff
path: root/lib/cli.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cli.rb')
-rw-r--r--lib/cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cli.rb b/lib/cli.rb
index 5780e3e87..be276583d 100644
--- a/lib/cli.rb
+++ b/lib/cli.rb
@@ -106,7 +106,7 @@ module Mastodon
             [json, account.id, inbox_url]
           end
 
-          account.update_column(:suspended, true)
+          account.suspend!
         end
 
         processed += 1