/* this can happen when the user isnt in any channels, but we still
* need to send them the data, ie a nick change
*/
- if(MyConnect(user) && (user->serial != current_serial))
+ if(MyConnect(user) && (user->serial != current_serial) && IsCapable(user, capability))
send_linebuf(user, &linebuf);
rb_linebuf_donebuf(&linebuf);
/* this can happen when the user isnt in any channels, but we still
* need to send them the data, ie a nick change
*/
- if(MyConnect(user) && (user->serial != current_serial))
+ if(MyConnect(user) && (user->serial != current_serial) && IsCapable(user, capability))
send_linebuf(user, &linebuf);
rb_linebuf_donebuf(&linebuf);