mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-26 10:52:16 -05:00
I18N: CloseHandler
This commit is contained in:
parent
72301331f2
commit
2a55b81049
@ -47,7 +47,7 @@ public class CloseHandler extends BaseHandler
|
|||||||
public void execute(String[] params, Server server, Conversation conversation, IRCService service) throws CommandException
|
public void execute(String[] params, Server server, Conversation conversation, IRCService service) throws CommandException
|
||||||
{
|
{
|
||||||
if (conversation.getType() == Conversation.TYPE_SERVER) {
|
if (conversation.getType() == Conversation.TYPE_SERVER) {
|
||||||
throw new CommandException("You can't close the server window");
|
throw new CommandException(service.getString(R.string.close_server_window));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (params.length == 1) {
|
if (params.length == 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user