}
if (!(hs->helpchan = GetChannel(newchan))) {
- hs->helpchan = AddChannel(newchan, now, NULL, NULL);
+ hs->helpchan = AddChannel(newchan, now, NULL, NULL, NULL);
AddChannelUser(hs->helpserv, hs->helpchan)->modes |= MODE_CHANOP;
} else if (!helpserv_in_channel(hs, old_helpchan)) {
struct mod_chanmode change;
reg_privmsg_func(hs->helpserv, helpserv_botmsg);
if (!(hs->helpchan = GetChannel(help_channel))) {
- hs->helpchan = AddChannel(help_channel, now, NULL, NULL);
+ hs->helpchan = AddChannel(help_channel, now, NULL, NULL, NULL);
AddChannelUser(hs->helpserv, hs->helpchan)->modes |= MODE_CHANOP;
} else {
struct mod_chanmode change;
}
new_target = GetChannel(target);
if (!new_target) {
- new_target = AddChannel(target, now, NULL, NULL);
+ new_target = AddChannel(target, now, NULL, NULL, NULL);
AddChannelUser(hs->helpserv, new_target);
}
} else {