#include "modcmd.h"
#include "DBHelper.h"
#include "IRCEvents.h"
+#include "tools.h"
struct cmd_bot_alias {
int botid;
}
void requestInvite(struct UserNode *user, struct ChanNode *chan) {
- struct ClientSocket *bot, *userbot = NULL;
+ struct ClientSocket *bot;
struct ChanUser *chanuser = getChanUser(user, chan);
char invited = 0;
if(chanuser) return;
invited = 1;
putsock(bot, "INVITE %s %s", user->nick, chan->name);
}
- if(bot->user == user) {
- userbot = bot;
- }
}
}