diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-06-01 14:18:07 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-06-01 14:18:07 +0000 |
commit | ada434820d2d81d8e4bcf633ebcbfef20606b51c (patch) | |
tree | 945c80ec070f872cd32cb8a8706079b28ce88cbc /include/protocol.h | |
parent | 0620c97abdf473ad536027c3b60efee517013fa1 (diff) |
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
Diffstat (limited to 'include/protocol.h')
-rw-r--r-- | include/protocol.h | 3 |
1 files changed, 3 insertions, 0 deletions
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<std::string> 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 |