Missing return statement

This commit is contained in:
Yuki 2015-04-23 06:31:48 +05:30
parent 99965adb7b
commit 407595c12b
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ class Ajax::ModerationController < ApplicationController
@status = :nopriv
@message = "You cannot ban an administrator!"
@success = false
return
end
if unban