From d5b5b7b7b564c7f96083b27bb9ea6a9ae8d03c7f Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Sun, 25 Apr 2010 11:17:44 +0200 Subject: [PATCH] AddServerActivity: Use correct server id to save channels --- src/org/yaaic/activity/AddServerActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/yaaic/activity/AddServerActivity.java b/src/org/yaaic/activity/AddServerActivity.java index 8914718..aa7b728 100644 --- a/src/org/yaaic/activity/AddServerActivity.java +++ b/src/org/yaaic/activity/AddServerActivity.java @@ -191,7 +191,7 @@ public class AddServerActivity extends Activity implements OnClickListener server.getCharset() ); - db.setChannels(server.getId(), channels); + db.setChannels((int) serverId, channels); db.close(); @@ -232,7 +232,7 @@ public class AddServerActivity extends Activity implements OnClickListener identity.getNickname() ); - db.setChannels(server.getId(), channels); + db.setChannels(serverId, channels); db.close();