diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-19 21:33:13 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-19 21:33:13 +0200 |
commit | 392c2e7a5f93b26faf8a734a5df99aca8311caeb (patch) | |
tree | 9198ba03d999618b110dc6a5572b3069958657c5 /degesch.c | |
parent | 5502975505737f93b19a4cbbcc890dee3ac898e9 (diff) | |
download | xK-392c2e7a5f93b26faf8a734a5df99aca8311caeb.tar.gz xK-392c2e7a5f93b26faf8a734a5df99aca8311caeb.tar.xz xK-392c2e7a5f93b26faf8a734a5df99aca8311caeb.zip |
degesch: fix struct channel_user
A user can have multiple channel modes.
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -184,7 +184,7 @@ struct channel_user LIST_HEADER (struct channel_user) struct user *user; ///< Reference to user - char mode_char; ///< Op/voice/... character, or zero + char *modes; ///< Op/voice/... characters }; static struct channel_user * @@ -199,6 +199,7 @@ channel_user_destroy (void *p) { struct channel_user *self = p; user_unref (self->user); + free (self->modes); free (self); } |