diff --git a/plugins/Irc/lib/ircmanager.php b/plugins/Irc/lib/ircmanager.php index 3dae68d133..021fe190e3 100644 --- a/plugins/Irc/lib/ircmanager.php +++ b/plugins/Irc/lib/ircmanager.php @@ -244,7 +244,7 @@ class IrcManager extends ImManager { if (!$result) { common_log_db_error($confirm, 'DELETE', __FILE__); // TRANS: Server error thrown on database error when deleting IRC nickname confirmation. - $this->serverError(_m('Could not delete confirmation.')); + throw new ServerException(_m('Could not delete confirmation.')); } } }