summaryrefslogtreecommitdiffstats
path: root/src/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui.c b/src/ui.c
index 725e7cc..0a4abe4 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -137,6 +137,9 @@ int dc_ui_processline (struct dc_thread_control * t, char * l, WINDOW * textwin,
t->power_api = atoi(strchr(l, ' ')+1);
DC_SIMPLEPRINT(textwin, 4, "t->power_api = %d\n", atoi(strchr(l, ' ')+1));
break;
+ case '/': /* so we can send messages that */
+ l++; /* start with a slash to the */
+ break; /* server by escaping */
default:
DC_SIMPLEPRINT(textwin, 1, DC_I18N_UI_CNF "\n");
}