From 436f7984d9ea60ec0dc222fcbcaa795792942781 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Mon, 15 Jul 2019 13:47:08 -0500 Subject: move user variables to `users` relation --- app/lib/bangtags.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/lib/bangtags.rb') diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb index e106dc582..8ed8a0612 100644 --- a/app/lib/bangtags.rb +++ b/app/lib/bangtags.rb @@ -28,7 +28,7 @@ class Bangtags # list of post-processing commands @post_cmds = [] # hash of bangtag variables - @vars = account.vars + @vars = account.user.vars # keep track of what variables we're appending the value of between chunks @vore_stack = [] # keep track of what type of nested components are active so we can !end them in order @@ -516,7 +516,7 @@ class Bangtags postprocess_before_save - account.save + account.user.save status.text = @chunks.join status.save -- cgit