mirror of
https://github.com/anope/anope.git
synced 2026-07-09 15:43:13 +02:00
Get rid of the remaining references in the core to specific services. Move more stuff out of the core to the proper modules.
This commit is contained in:
@@ -9,8 +9,6 @@
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*/
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
#include "module.h"
|
||||
|
||||
class CommandOSSVSNick : public Command
|
||||
@@ -101,7 +99,7 @@ class CommandOSSVSJoin : public Command
|
||||
source.Reply(_("\002%s\002 is already in \002%s\002."), target->nick.c_str(), c->name.c_str());
|
||||
else
|
||||
{
|
||||
IRCD->SendSVSJoin(OperServ, target, params[1], "");
|
||||
IRCD->SendSVSJoin(source.service, target, params[1], "");
|
||||
Log(LOG_ADMIN, source, this) << "to force " << target->nick << " to join " << params[1];
|
||||
source.Reply(_("\002%s\002 has been joined to \002%s\002."), target->nick.c_str(), params[1].c_str());
|
||||
}
|
||||
@@ -145,7 +143,7 @@ class CommandOSSVSPart : public Command
|
||||
source.Reply(_("\002%s\002 is not in \002%s\002."), target->nick.c_str(), c->name.c_str());
|
||||
else
|
||||
{
|
||||
IRCD->SendSVSPart(OperServ, target, params[1], "");
|
||||
IRCD->SendSVSPart(source.service, target, params[1], "");
|
||||
Log(LOG_ADMIN, source, this) << "to force " << target->nick << " to part " << c->name;
|
||||
source.Reply(_("\002%s\002 has been parted from \002%s\002."), target->nick.c_str(), c->name.c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user