From ada434820d2d81d8e4bcf633ebcbfef20606b51c Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 1 Jun 2008 14:18:07 +0000 Subject: Add ProtocolInterface::Introduce() to prevent confusion over event ordering, and allow for more flexible protocol use git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9827 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/protocol.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/protocol.h b/include/protocol.h index 44013a1ca..87d4ea384 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -17,6 +17,7 @@ #include "hashcomp.h" class InspIRCd; +class User; typedef std::deque parameterlist; @@ -74,6 +75,8 @@ class ProtocolInterface : public Extensible virtual void SendUserNotice(User* target, const std::string &text) { } virtual void GetServerList(ProtoServerList &sl) { } + + virtual void Introduce(User* u) { } }; #endif -- cgit v1.2.3