summaryrefslogtreecommitdiff
path: root/irc/bitlbee/files/patch-irc__channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc/bitlbee/files/patch-irc__channel.c')
-rw-r--r--irc/bitlbee/files/patch-irc__channel.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/irc/bitlbee/files/patch-irc__channel.c b/irc/bitlbee/files/patch-irc__channel.c
new file mode 100644
index 000000000000..46e1c9495480
--- /dev/null
+++ b/irc/bitlbee/files/patch-irc__channel.c
@@ -0,0 +1,11 @@
+--- irc_channel.c.orig 2015-07-20 20:09:00 UTC
++++ irc_channel.c
+@@ -444,7 +444,7 @@ void irc_channel_auto_joins(irc_t *irc,
+ can only auto-join them if their account is online. */
+ char *acc_s;
+
+- if (!aj || (ic->flags & IRC_CHANNEL_JOINED)) {
++ if (!aj && !(ic->flags & IRC_CHANNEL_JOINED)) {
+ /* Only continue if this one's marked as auto_join
+ or if we're in it already. (Possible if the
+ client auto-rejoined it before identyfing.) */