diff options
author | Adam <Adam@anope.org> | 2012-02-19 20:54:55 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-02-19 20:54:55 -0500 |
commit | b84e0804636d3868684c6ec2670207e7ae1cadeb (patch) | |
tree | 059be9a9da7b530970bc44f2c8eee5f61497a82e /modules/commands/os_oline.cpp | |
parent | 0ba58d7d0eea4e2a0e0d18a66880f84af6fea60e (diff) |
Made our message sources actual clients/servers, and put in a few more default messages for very standard things (KICK etc)
Diffstat (limited to 'modules/commands/os_oline.cpp')
-rw-r--r-- | modules/commands/os_oline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_oline.cpp b/modules/commands/os_oline.cpp index 5992f296e..3076da434 100644 --- a/modules/commands/os_oline.cpp +++ b/modules/commands/os_oline.cpp @@ -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; } |