about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-01-10 18:17:10 +0000
committerJames Booth <boothj5@gmail.com>2015-01-10 18:17:10 +0000
commit3e1832b02e5f994619ff3fdd2165d6326ab3e4db (patch)
treefe3c13a9faeb619aaaabe2094449ac9485cc6501 /src/command
parentf180925c3b4c28d3839efe5526596506c781a9ec (diff)
downloadprofani-tty-3e1832b02e5f994619ff3fdd2165d6326ab3e4db.tar.gz
Renamed resource -> resource_override
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 049582c0..7f902836 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -1617,11 +1617,11 @@ cmd_resource(gchar **args, struct cmd_help_t help)
             return TRUE;
         }
 
-        chatwin->resource = strdup(resource);
+        chatwin->resource_override = strdup(resource);
         return TRUE;
 
     } else if (g_strcmp0(cmd, "off") == 0) {
-        FREE_SET_NULL(chatwin->resource);
+        FREE_SET_NULL(chatwin->resource_override);
         return TRUE;
     } else {
         cons_show("Usage: %s", help.usage);