aboutsummaryrefslogtreecommitdiffstats
path: root/irc_im.c
diff options
context:
space:
mode:
authorjgeboski <jgeboski@gmail.com>2015-01-16 16:50:25 -0300
committerdequis <dx@dxzone.com.ar>2015-01-16 16:50:25 -0300
commitecbd22a87ca7bc2675e9368445d193c6c81bf3c1 (patch)
treee9b87dcfcba2218205fa187c02e06b26195346e2 /irc_im.c
parentfed4f766c05e44e99917909b266c99c052ed9c3e (diff)
channel: fixed auto-join occurring when disabled
With the auto_join channel flag set to false, the channel is still auto-joined. This can lead to the channel being "doubly" joined if a client previously sent a channel join request. The result of being "doubly" joined is really undefined, but most notably memory leaks can occur. It also appears, based on the comment under the modified condition, the previous condition was incorrect. Another patch should probably implement some sort of check to ensure a channel is not already joined, assuming the auto_join flag is enabled.
Diffstat (limited to 'irc_im.c')
0 files changed, 0 insertions, 0 deletions