diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-03-29 10:48:42 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2021-03-29 10:48:42 +0200 |
commit | 3c1e4bac3ae640bc4c451d7d4a1c06146e13a15a (patch) | |
tree | 8817200d0bd211be198dbf4e51ae6ae2ae4f64fc /src/xmpp/stanza.c | |
parent | a09d49d884578fdaea01f9ff4be0fcc9f0fe7746 (diff) | |
download | profani-tty-3c1e4bac3ae640bc4c451d7d4a1c06146e13a15a.tar.gz |
Fix segfault in cmd_autoaway()
Two mistakes were here: * `/autoaway time away` without a time argument segfaulted * `/autoaway message away` without a mesage set to (null). We have `/autoaway message off to set it off. Also use g_strcmp0() instead of strcmp().
Diffstat (limited to 'src/xmpp/stanza.c')
0 files changed, 0 insertions, 0 deletions