1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 19:03:13 +02:00

Made our message sources actual clients/servers, and put in a few more default messages for very standard things (KICK etc)

This commit is contained in:
Adam
2012-02-19 20:54:55 -05:00
parent 0ba58d7d0e
commit b84e080463
16 changed files with 305 additions and 343 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ class CommandOSOLine : public Command
source.Reply(NICK_X_NOT_IN_USE, nick.c_str());
else if (u2 && flag[0] == '+')
{
ircdproto->SendSVSO(Config->OperServ, nick, flag);
ircdproto->SendSVSO(source.owner, nick, flag);
u2->SetMode(source.owner, UMODE_OPER);
u2->SendMessage(source.owner, _("You are now an IRC Operator."));
source.Reply(_("Operflags \002%s\002 have been added for \002%s\002."), flag.c_str(), nick.c_str());
@@ -42,7 +42,7 @@ class CommandOSOLine : public Command
}
else if (u2 && flag[0] == '-')
{
ircdproto->SendSVSO(Config->OperServ, nick, flag);
ircdproto->SendSVSO(source.owner, nick, flag);
source.Reply(_("Operflags \002%s\002 have been added for \002%s\002."), flag.c_str(), nick.c_str());
Log(LOG_ADMIN, u, this) << "for " << nick;
}