1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-22 17:02:21 -05:00

AddServerActivity: Add commands to server object on update/save

This commit is contained in:
Sebastian Kaspari 2010-04-25 12:34:08 +02:00
parent 39824aeb00
commit 84fdcd8249

View File

@ -219,6 +219,7 @@ public class AddServerActivity extends Activity implements OnClickListener
server.setId((int) serverId);
server.setIdentity(identity);
server.setAutoJoinChannels(channels);
server.setConnectCommands(commands);
Yaaic.getInstance().addServer(server);
}
@ -262,6 +263,7 @@ public class AddServerActivity extends Activity implements OnClickListener
server.setId(this.server.getId());
server.setIdentity(identity);
server.setAutoJoinChannels(channels);
server.setConnectCommands(commands);
Yaaic.getInstance().updateServer(server);
}