diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2021-07-13 21:06:25 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2021-07-13 21:06:25 +0200 |
commit | fdb2a88a5eb656462840b74de01e9e098c520fa5 (patch) | |
tree | 89ff265855fd9e9c65753df7200a5c681171d743 /src/ui.c | |
parent | replaced openssl with gnutls (diff) | |
download | discord.c-fdb2a88a5eb656462840b74de01e9e098c520fa5.tar discord.c-fdb2a88a5eb656462840b74de01e9e098c520fa5.tar.gz discord.c-fdb2a88a5eb656462840b74de01e9e098c520fa5.tar.bz2 discord.c-fdb2a88a5eb656462840b74de01e9e098c520fa5.tar.lz discord.c-fdb2a88a5eb656462840b74de01e9e098c520fa5.tar.xz discord.c-fdb2a88a5eb656462840b74de01e9e098c520fa5.tar.zst discord.c-fdb2a88a5eb656462840b74de01e9e098c520fa5.zip |
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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"); } |