summaryrefslogtreecommitdiff
path: root/modules/protocol/rfc1459.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/protocol/rfc1459.cpp')
-rw-r--r--modules/protocol/rfc1459.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/protocol/rfc1459.cpp b/modules/protocol/rfc1459.cpp
index eee93571a..77f3dedc3 100644
--- a/modules/protocol/rfc1459.cpp
+++ b/modules/protocol/rfc1459.cpp
@@ -444,6 +444,12 @@ void Ping::Run(MessageSource &source, const std::vector<Anope::string> &params)
IRCD->Send<messages::Pong>(params.size() > 1 ? params[1] : Me->GetSID(), params[0]);
}
+void Pong::Run(MessageSource &source, const std::vector<Anope::string> &params)
+{
+ // Here to get rid of the "unknown command from server"
+ // Read timeout is reset on any uplink recv()
+}
+
void Privmsg::Run(MessageSource &source, const std::vector<Anope::string> &params)
{
const Anope::string &receiver = params[0];