gnome-mud r818 - in trunk: . src



Author: lharris
Date: Fri Mar 20 23:28:24 2009
New Revision: 818
URL: http://svn.gnome.org/viewvc/gnome-mud?rev=818&view=rev

Log:
Setting CommDev to nothing disables it.

Modified:
   trunk/ChangeLog
   trunk/src/mud-connection-view.c

Modified: trunk/src/mud-connection-view.c
==============================================================================
--- trunk/src/mud-connection-view.c	(original)
+++ trunk/src/mud-connection-view.c	Fri Mar 20 23:28:24 2009
@@ -1996,7 +1996,10 @@
 
         g_get_charset(&local_codeset);
 
-        commands = mud_profile_process_commands(view->profile, data);
+        if(strlen(view->profile->preferences->CommDev) == 0)
+            commands = g_list_append(commands, g_strdup(data));
+        else
+            commands = mud_profile_process_commands(view->profile, data);
 
         for (command = g_list_first(commands); command != NULL; command = command->next)
         {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]