about summary refs log tree commit diff stats
path: root/src/xmpp/muc.c
diff options
context:
space:
mode:
authorJohn Hernandez <129467592+H3rnand3zzz@users.noreply.github.com>2023-04-14 20:57:20 +0200
committerJohn Hernandez <129467592+H3rnand3zzz@users.noreply.github.com>2023-04-17 11:29:47 +0200
commit59b99fece8ffa10c6a23b11111b7b49858ea9139 (patch)
treea68384faef2d8a28b46da63e4dfc8998b83eee1e /src/xmpp/muc.c
parent1b679498b6818eb433cdaa1361f18e00ad1860fc (diff)
downloadprofani-tty-59b99fece8ffa10c6a23b11111b7b49858ea9139.tar.gz
Don't add the same command twice to history
Expected behaviour
When you type
/command
/command
it should be just 1 entry in the history.

Behaviour
All the entries were saved.

Behaviour is changed by introducing check. Before adding to history,
entry now is compared to the last history entry.
Diffstat (limited to 'src/xmpp/muc.c')
0 files changed, 0 insertions, 0 deletions