- irc_kill(chanserv, user, "BANG - Don't stuff bullets into a loaded gun");
+ DelUser(user, chanserv, 1, "BANG - Don't stuff bullets into a loaded gun");
if (cData->roulette_chamber == 0) {
reply("CSMSG_ROULETTE_BANG");
reply("CSMSG_ROULETTE_BETTER_LUCK", user->nick);
if (cData->roulette_chamber == 0) {
reply("CSMSG_ROULETTE_BANG");
reply("CSMSG_ROULETTE_BETTER_LUCK", user->nick);
if (wheel == 1) {
send_target_message(1, channel->name, chanserv, "CSMSG_SPIN_1");
if (wheel == 1) {
send_target_message(1, channel->name, chanserv, "CSMSG_SPIN_1");
- irc_kill(chanserv, user, "Connection reset by peer");
+ if (type < 7)
+ irc_kill(chanserv, user, "Connection reset by peer");
+ else
+ sputsock("%s SQ %s :Connection reset by peer", self->numeric, user->numeric);
}
if (wheel == 2) {
send_target_message(1, channel->name, chanserv, "CSMSG_SPIN_2");
}
if (wheel == 2) {
send_target_message(1, channel->name, chanserv, "CSMSG_SPIN_2");
irc_svsnick(chanserv, user, abusednick);
clone = AddClone(oldnick, oldident, oldhost, "I got abused by the wheel of misfortune :D");
irc_svsnick(chanserv, user, abusednick);
clone = AddClone(oldnick, oldident, oldhost, "I got abused by the wheel of misfortune :D");
DEFINE_COMMAND(reply, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL);
DEFINE_COMMAND(roulette, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL);
DEFINE_COMMAND(shoot, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL);
DEFINE_COMMAND(reply, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL);
DEFINE_COMMAND(roulette, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL);
DEFINE_COMMAND(shoot, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL);
- DEFINE_COMMAND(spin, 1, 0, "spin", "+nolog,+toy,+acceptchan", NULL);
+ DEFINE_COMMAND(spin, 1, MODCMD_REQUIRE_AUTHED, "spin", "+nolog,+toy,+acceptchan", NULL);