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 @status = :nopriv
@message = "You cannot ban an administrator!" @message = "You cannot ban an administrator!"
@success = false @success = false
return
end end
if unban if unban