if (IsPerson(sptr) && samode && MyClient(sptr))
{
sendto_serv_butone_token(NULL, me.name, MSG_GLOBOPS,
- TOK_GLOBOPS, ":%s used SAMODE %s (%s %s)", sptr->name,
- chptr->chname, mode_buf, parabuf);
+ TOK_GLOBOPS, ":%s (%s@%s) used SAMODE %s %s %s", sptr->name,
+ sptr->user->username, sptr->user->realhost, chptr->chname,
+ mode_buf, parabuf);
sendto_failops_whoare_opers
- ("from %s: %s used SAMODE %s (%s %s)", me.name, sptr->name,
- chptr->chname, mode_buf, parabuf);
+ ("from %s: %s (%s@%s) used SAMODE %s %s %s", sptr->name,
+ sptr->user->username, sptr->user->realhost, chptr->chname,
+ mode_buf, parabuf);
sptr = &me;
sendts = 0;
}
&& !is_chanowner(cptr, chptr))
{
sendto_one(cptr,
- ":%s NOTICE %s :*** Channel mode +u can only be set by the channel owner",
+ ":%s NOTICE %s :*** Auditorium mode (+u) can only be set by the channel owner.",
me.name, cptr->name);
break;
}
&& !IsULine(cptr))
{
sendto_one(cptr,
- ":%s NOTICE %s :*** Only IRCops can set that mode",
+ ":%s NOTICE %s :*** Opers Only mode (+O) can only be set by IRC Operators.",
me.name, cptr->name);
break;
}
&& !IsULine(cptr))
{
sendto_one(cptr,
- ":%s NOTICE %s :*** Only admins can set that mode",
+ ":%s NOTICE %s :*** Admins Only mode (+A) can only be set by Administrators.",
me.name, cptr->name);
break;
}
&& !IsULine(cptr))
{
sendto_one(cptr,
- ":%s NOTICE %s :*** Only admins can set that mode",
+ ":%s NOTICE %s :*** No Hiding mode (+H) can only be set by Administrators.",
me.name, cptr->name);
break;
}
&& !is_chanowner(cptr, chptr))
{
sendto_one(cptr,
- ":%s NOTICE %s :*** Protected users can only be set by the channel owner.",
+ ":%s NOTICE %s :*** Protected User mode (+a) can only be set by the channel owner.",
me.name, cptr->name);
break;
}
switch (modetype)
{
case MODE_CHANOWNER:
- xxx = "deown";
+ xxx = "dechannelown";
break;
case MODE_CHANPROT:
- xxx = "deprot";
+ xxx = "deprotect";
break;
case MODE_HALFOP:
xxx = "dehalfop";
if (MyClient(cptr))
{
sendto_one(cptr,
- ":%s NOTICE %s :*** You cannot %s because %s is %s channel owner (+q)",
+ ":%s NOTICE %s :*** You cannot %s %s in %s, they are the channel owner (+q).",
me.name, cptr->name, xxx,
member->value.cptr->name, chptr->chname);
}
if (MyClient(cptr))
{
sendto_one(cptr,
- ":%s NOTICE %s :*** You cannot %s because %s is %s protected user (+a)",
+ ":%s NOTICE %s :*** You cannot %s %s in %s, they are a protected user (+a).",
me.name, cptr->name, xxx,
member->value.cptr->name, chptr->chname);
}
&& !is_chanowner(cptr, chptr))
{
sendto_one(cptr,
- ":%s NOTICE %s :*** Channel mode +L can only be set by the channel owner",
+ ":%s NOTICE %s :*** Channel Linking (+L) can only be set by the channel owner.",
me.name, cptr->name);
break;
}
if (!chptr->mode.limit && what == MODE_ADD)
{
sendto_one(cptr,
- ":%s NOTICE %s :*** Channel mode +l <max> is requried for +L to be set",
+ ":%s NOTICE %s :*** A Channel Limit (+l <max>) is required for +L to be set.",
me.name, cptr->name);
break;
}
{
if (MyClient(cptr))
sendto_one(cptr,
- ":%s NOTICE %s :*** You can't link %s to itself",
+ ":%s NOTICE %s :*** %s cannot be linked to itself.",
me.name, cptr->name,
chptr->chname);
break;
{
if (MyClient(cptr))
sendto_one(cptr,
- ":%s NOTICE %s :*** You may only specify 1 channel to link to",
+ ":%s NOTICE %s :*** Only one channel may be specified for linking.",
me.name, cptr->name);
break;
}
MyFree(tmpo);
break;
#endif
- case 'x':
- if (MyClient(cptr))
- {
- sendto_one(cptr,
- ":%s NOTICE %s :*** Mode not set - Please do not use mode +x as this is now named +c instead (Colorblock)",
- me.name, cptr->name);
- break;
- }
- else
- {
- /* compatiblity */
- *curchr = 'c';
- }
- goto jumpdammit;
case 'I':
if (MyClient(cptr))
{
if ((chptr->mode.mode & MODE_ONLYSECURE) &&
!(sptr->umodes & UMODE_SECURE))
{
- sendto_one(sptr, ":%s NOTICE %s :*** Cannot join: %s is a Secure-only channel (+z)",
+ sendto_one(sptr, ":%s NOTICE %s :*** Cannot join: %s is a secure client-only channel (+z)",
me.name, sptr->name, chptr->chname);
return (ERR_BANNEDFROMCHAN);
}
{
/* bounced too many times */
sendto_one(sptr,
- ":%s NOTICE %s :*** Couldn't join %s ! - Link setting was too bouncy",
+ ":%s NOTICE %s :*** Cannot join %s: bounced through too many links.",
me.name, sptr->name, parv[1]);
return;
}
user->virthost : sptr->user->realhost),
name);
sendto_umode(UMODE_NETADMIN,
- "*** Invisible(+I) user %s joined %s", sptr->name,
- chptr->chname);
+ "*** Invisibility -- %s (%s@%s) JOIN %s", sptr->name,
+ sptr->user->username, sptr->user->realhost, chptr->chname);
}
sendto_serv_butone_token(cptr, parv[0], MSG_JOIN,
TOK_JOIN, name);
user->virthost : sptr->user->realhost),
chptr->chname);
sendto_umode(UMODE_ADMIN,
- "*** [+I] %s invisible joined %s",
- sptr->name, chptr->chname);
+ "*** Invisibility -- %s (%s@%s) JOIN %s",
+ sptr->name, sptr->user->username,
+ sptr->user->realhost, chptr->chname);
sendto_serv_butone_token(&me, me.name, MSG_SMO,
- TOK_SMO, "A :[+I] %s invisible joined %s",
- sptr->name, chptr->chname);
+ TOK_SMO, "A :Invisibility -- %s (%s@%s) JOIN %s",
+ sptr->name, sptr->user->username,
+ sptr->user->realhost, chptr->chname);
sendto_channel_ntadmins(sptr, chptr, ":%s JOIN :%s",
sptr->name, chptr->chname);
}
if (MyClient(sptr))
{
sendto_umode(UMODE_ADMIN,
- "*** [+I] %s invisible parted %s",
- sptr->name, chptr->chname);
+ "*** Invisibility -- %s (%s@%s) PART %s",
+ sptr->name, sptr->user->username,
+ sptr->user->realhost, chptr->chname);
sendto_serv_butone_token(&me,
me.name, MSG_SMO, TOK_SMO,
- "A :[+I] %s invisible parted %s",
- sptr->name, chptr->chname);
+ "A :Invisibility -- %s (%s@%s) PART %s",
+ sptr->name, sptr->user->username,
+ sptr->user->realhost, chptr->chname);
if (parc < 3)
sendto_channel_ntadmins(sptr, chptr, ":%s PART %s",
sptr->name, chptr->chname);
err_str(ERR_NOSUCHNICK),
me.name, parv[0], user, name);
sendto_one(who,
- ":%s NOTICE %s :*** Hidden: %s tried to kick you from channel %s (%s)",
+ ":%s NOTICE %s :*** Invisibility: %s tried to kick you from %s (%s)",
me.name, who->name, parv[0],
chptr->chname, comment);
break;
#endif
{
sendto_one(sptr,
- ":%s NOTICE %s :*** Cannot kick %s from channel %s (usermode +q)",
+ ":%s NOTICE %s :*** Cannot kick %s from %s (usermode +q)",
me.name, sptr->name, who->name, chptr->chname);
sendto_one(who,
- ":%s NOTICE %s :*** Q: %s tried to kick you from channel %s (%s)",
+ ":%s NOTICE %s :*** Q: %s tried to kick you from %s (%s)",
me.name, who->name, parv[0], chptr->chname, comment);
goto deny;
}
#endif
{
sendto_one(sptr,
- ":%s NOTICE %s :*** Cannot kick %s from channel %s (usermode +S)",
+ ":%s NOTICE %s :*** Cannot kick %s from %s (usermode +S)",
me.name, sptr->name, who->name, chptr->chname);
goto deny;
}
if (chptr->mode.mode & MODE_NOKICKS)
{
sendto_one(sptr,
- ":%s NOTICE %s :*** You cannot kick people on %s",
+ ":%s NOTICE %s :*** You cannot kick people on %s (channel mode +Q)",
me.name, sptr->name, chptr->chname);
goto deny;
}
&& !is_chan_op(sptr,chptr))
{
sendto_one(sptr,
- ":%s NOTICE %s :*** You cannot kick channel operators on %s if you only are halfop",
+ ":%s NOTICE %s :*** You cannot kick operators on %s if you are only a halfop",
me.name, sptr->name, chptr->chname);
goto deny;
}
else
{
sendto_one(sptr,
- ":%s NOTICE %s :*** You cannot kick %s from %s because %s is channel protected",
+ ":%s NOTICE %s :*** You cannot kick %s from %s because %s is protected (+a)",
me.name, sptr->name,
who->name,
chptr->chname, who->name);
if (!MyClient(sptr) && !IsULine(sptr))
{
sendto_umode
- (UMODE_JUNK,"Remote TOPIC for unknown channel %s (%s)",
+ (UMODE_JUNK,"*** Remote TOPIC for unknown channel %s (%s)",
parv[1], backupbuf);
}
sendto_one(sptr, rpl_str(ERR_NOSUCHCHANNEL),
char comment[1024], mask[1024];
ircsprintf(comment,
- "Flooding (Limit is %i lines per %i seconds)",
+ "Flooding (limit is %i lines per %i second(s))",
chptr->mode.msgs, chptr->mode.per);
if (chptr->mode.kmode == 1)
{ /* ban. */
sendto_one(sptr,
err_str(ERR_LISTSYNTAX),
me.name, cptr->name,
- "Bad list syntax, type /list ?");
+ "Improper list syntax, type /list ?");
error = 1;
}
break;
sendto_one(sptr,
err_str(ERR_LISTSYNTAX),
me.name, cptr->name,
- "Bad list syntax, type /list ?");
+ "Improper list syntax, type /list ?");
error = 1;
}
break;
if (*s == ',')
{
para[TRUNCATED_NAMES] = '\0';
- sendto_realops("names abuser %s %s",
+ sendto_realops("NAMES abuser: %s - %s",
get_client_name(sptr, FALSE), para);
sendto_one(sptr, err_str(ERR_TOOMANYTARGETS),
me.name, sptr->name, "NAMES");
sendto_one(sptr, err_str(ERR_CANNOTKNOCK),
me.name,
sptr->name,
- chptr->chname, "You can not get invited anyways! (+I)");
+ chptr->chname, "Channel has INVITE disabled! (+I)");
return 0;
}
sendto_channelops_butone(NULL, &me, chptr,
- ":%s NOTICE @%s :[Knock] by %s!%s@%s (%s) ",
+ ":%s NOTICE @%s :[KNOCK] by %s!%s@%s (%s) ",
me.name, chptr->chname, sptr->name,
sptr->user->username,
(IsHidden(sptr) ? sptr->user->virthost : sptr->user->realhost),
parv[2] ? parv[2] : "no reason specified");
- sendto_one(sptr, ":%s NOTICE %s :Knocked on %s", me.name,
+ sendto_one(sptr, ":%s NOTICE %s :*** Knocked on %s", me.name,
sptr->name, chptr->chname);
return 0;
}