diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-11 14:47:45 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-11 14:48:00 +0200 |
commit | 5692da47bef5402d37e131c1d55fbad864bd066d (patch) | |
tree | dc004a7daf95190fb2d28d548ec176f78924b91c /kike.c | |
parent | c3d39dab5b0acdcd971e5365fb1967cbf243bcce (diff) | |
download | xK-5692da47bef5402d37e131c1d55fbad864bd066d.tar.gz xK-5692da47bef5402d37e131c1d55fbad864bd066d.tar.xz xK-5692da47bef5402d37e131c1d55fbad864bd066d.zip |
Fix various issues reported by Coverity
Diffstat (limited to 'kike.c')
-rw-r--r-- | kike.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1818,8 +1818,11 @@ mode_processor_do_list (struct mode_processor *self, return; } + if (!mode_processor_check_operator (self)) + return; + char *mask = irc_check_expand_user_mask (target); - if (!mode_processor_check_operator (self) || !mask) + if (!mask) return; size_t i; |