From 1ada28ab2218d5e0b2f9505e81625a352a175f7d Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Thu, 4 Mar 2010 17:02:32 -0600 Subject: Change connect class inheritance to use references, allows conn_umode and conn_join to inherit --- src/command_parse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command_parse.cpp') diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 2e20fc27f..204b5b94d 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -271,7 +271,7 @@ bool CommandParser::ProcessCommand(LocalUser *user, std::string &cmd) return true; /* activity resets the ping pending timer */ - user->nping = ServerInstance->Time() + user->MyClass->GetPingTime(); + user->nping = ServerInstance->Time() + user->MyClass->pingtime; if (cm->second->flags_needed) { -- cgit v1.3.1-10-gc9f91