diff options
Diffstat (limited to 'commands.c')
-rw-r--r-- | commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -194,7 +194,7 @@ static void commands_get(GSocketConnection *connection, const gchar *cmd, GError for(GSList *node = servers; node; node = g_slist_next(node)) { struct server *temp = node->data; - if(g_strcasecmp(temp->host, data[3]) == 0) { + if(g_strcasecmp(temp->name, data[3]) == 0) { server = temp; break; } |