Ah, yes, sorry, I didn't read that fully.
LAST thing (I prommise)
I am trying to get the founder of a channel. From other modules, I have got this...
char *gettehinfo = moduleGetLastBuffer();
char *chan = myStrGetToken(gettehinfo,' ', 0);
ChannelInfo *ci;
char *saidtext = myStrGetTokenRemainder(gettehinfo,' ', 1);
notice(s_BotServ, u->nick, "You have used the Say command in %s saying %s which has the founder %s", chan, saidtext, ci->founder);
Yet, on compile, I get the message:
bs_sayalert.c:44: warning: `ci' might be used uninitialized in this function
Am I doing something wrong?
Cheers
Phil