summaryrefslogtreecommitdiff
path: root/src/operserv.cpp
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2010-08-02 19:42:00 +0200
committerDukePyrolator <DukePyrolator@anope.org>2010-08-02 19:42:00 +0200
commit503215f39ce5b61a33e544c1d8e3d75d9e5a5260 (patch)
tree181fa3c9fb0bce5bef5730b8c83a4b1efede400a /src/operserv.cpp
parentddb886aa99a5bbdfbac8a1d3738e296d1ade7af4 (diff)
changed the way how CTCP PINGs are processed, all services clients can now reply to CTCP PING and CTCP VERSION requests
Diffstat (limited to 'src/operserv.cpp')
-rw-r--r--src/operserv.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/operserv.cpp b/src/operserv.cpp
index d66088b03..fd345cb8c 100644
--- a/src/operserv.cpp
+++ b/src/operserv.cpp
@@ -37,24 +37,6 @@ void os_init()
XLineManager::RegisterXLineManager(SNLine = new SNLineManager());
}
-void operserv(User *u, const Anope::string &buf)
-{
- if (!u || buf.empty())
- return;
-
- Alog() << Config.s_OperServ << ": " << u->nick << ": " << buf;
-
- if (buf.substr(0, 6).equals_cs("\1PING ") && buf[buf.length() - 1] == '\1')
- {
- Anope::string command = buf;
- command.erase(command.begin());
- command.erase(command.end());
- ircdproto->SendCTCP(OperServ, u->nick, "%s", command.c_str());
- }
- else
- mod_run_cmd(OperServ, u, buf);
-}
-
bool SetDefConParam(ChannelModeName Name, const Anope::string &buf)
{
return DefConModesOnParams.insert(std::make_pair(Name, buf)).second;