X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/455292ec7d38b8220f840e29e4ec74d3896d0ce9..3898f97325dbed800d4b424e68a0c2858b8d8be7:/helpmod2/helpmod2.c diff --git a/helpmod2/helpmod2.c b/helpmod2/helpmod2.c index d6258339..a383d6ba 100644 --- a/helpmod2/helpmod2.c +++ b/helpmod2/helpmod2.c @@ -22,6 +22,9 @@ #include "hdef.h" #include "hticket.h" #include "hed.h" +#include "../lib/version.h" + +MODULE_VERSION("") int HELPMOD_ACCOUNT_EXPIRATION[] = { @@ -185,7 +188,7 @@ void helpmod_invite(hchannel *hchan, huser *husr) if (hchan->flags & H_PASSIVE) return; - localinvite(helpmodnick, hchan->real_channel, husr->real_user); + localinvite(helpmodnick, hchan->real_channel->index, husr->real_user); } static void hmode_set_channel(hchannel *hchan)