From 253a4270f27c7d667a68147b4ebe9aa439290445 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 12 Apr 2005 19:00:00 +0000 Subject: Added 005 numeric handling, token is "PARK" git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1061 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_park.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/modules/m_park.cpp b/src/modules/m_park.cpp index f957b7f37..910930f12 100644 --- a/src/modules/m_park.cpp +++ b/src/modules/m_park.cpp @@ -200,6 +200,11 @@ class ModulePark : public Module this->ReadSettings(); } + virtual void On005Numeric(std::string &output) + { + output = output + std::string(" PARK"); + } + virtual void OnPrePrivmsg(userrec* user, userrec* dest, std::string text) { awaylog* awy = (awaylog*)dest->GetExt("park_awaylog"); -- cgit v1.2.3