diff options
author | James Booth <boothj5@gmail.com> | 2015-07-27 00:04:48 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-07-27 00:04:48 +0100 |
commit | 8119025120b0b511aea8bc3f477d2aff835bd24b (patch) | |
tree | 14d19a151bc8aa0862002a2da8feb10a7a89b788 /src | |
parent | 59d5dd73a77b2a85e199ad43e9ba4591b2bfbe08 (diff) | |
download | profani-tty-8119025120b0b511aea8bc3f477d2aff835bd24b.tar.gz |
Fixed tests for new command format
Diffstat (limited to 'src')
-rw-r--r-- | src/muc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/muc.c b/src/muc.c index 4474976d..8bc530aa 100644 --- a/src/muc.c +++ b/src/muc.c @@ -166,7 +166,9 @@ void muc_invites_clear(void) { autocomplete_clear(invite_ac); - g_hash_table_remove_all(invite_passwords); + if (invite_passwords) { + g_hash_table_remove_all(invite_passwords); + } } void |