diff options
| author | Scott Ostler <scottbot9000@gmail.com> | 2010-06-11 16:35:15 -0400 |
|---|---|---|
| committer | Scott Ostler <scottbot9000@gmail.com> | 2010-06-11 16:35:15 -0400 |
| commit | 3df0816ef86f3ba8be21275f469672801ef79027 (patch) | |
| tree | 0bc99e83732acbc53edb2a46f8658ee98bf2fe17 /src/admin.clj | |
| parent | e5d4af0076d03203d275fad6871827f16e765231 (diff) | |
update *active-mutes* on cancels
Diffstat (limited to 'src/admin.clj')
| -rw-r--r-- | src/admin.clj | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/admin.clj b/src/admin.clj index d61105c..4e90bad 100644 --- a/src/admin.clj +++ b/src/admin.clj @@ -115,7 +115,9 @@ AND cancelled = false {:cancelled true :cancel_admin_id admin-id :cancel_reason reason}) - (resp-success "OK") + (do + (update! *active-mutes*) + (resp-success "OK")) (resp-error "UPDATE_ERROR"))))) (defn handle-cancel-mute! [session params] |
