about summary refs log tree commit diff stats
path: root/src/xmpp/stanza.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-03-29 10:48:42 +0200
committerMichael Vetter <jubalh@iodoru.org>2021-03-29 10:48:42 +0200
commit3c1e4bac3ae640bc4c451d7d4a1c06146e13a15a (patch)
tree8817200d0bd211be198dbf4e51ae6ae2ae4f64fc /src/xmpp/stanza.c
parenta09d49d884578fdaea01f9ff4be0fcc9f0fe7746 (diff)
downloadprofani-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