diff libpurple/core.c @ 18753:2cc872f4f620

Fix stun to work on startup (this is is a temporary hack until purple_prefs_load() happens in the core). Fixes #2334
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 31 Jul 2007 03:26:05 +0000
parents 9db52d9b8436
children d470d42d2cb1
line wrap: on
line diff
--- a/libpurple/core.c	Mon Jul 30 22:37:00 2007 +0000
+++ b/libpurple/core.c	Tue Jul 31 03:26:05 2007 +0000
@@ -159,8 +159,9 @@
 	/*
 	 * Call this early on to try to auto-detect our IP address and
 	 * hopefully save some time later.
+	 * TODO: do this here after purple_prefs_load() has been moved into purple_prefs_init()
 	 */
-	purple_network_get_my_ip(-1);
+	/*purple_network_get_my_ip(-1);*/
 
 	if (ops != NULL && ops->ui_init != NULL)
 		ops->ui_init();