summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-12 19:00:00 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-12 19:00:00 +0000
commit253a4270f27c7d667a68147b4ebe9aa439290445 (patch)
treeb2a481ff0923373246e56454d5e1fbbcc39383fc /src
parentc67b08f1a4f13255efea71d544583af677589860 (diff)
Added 005 numeric handling, token is "PARK"
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1061 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_park.cpp5
1 files changed, 5 insertions, 0 deletions
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");