diff options
| author | 2005-11-30 22:00:34 +0000 | |
|---|---|---|
| committer | 2005-11-30 22:00:34 +0000 | |
| commit | e1a92daeb657da58dcfcc2f1256193cb72295635 (patch) | |
| tree | a93211dba5725729e5a442b0061d2d20aee602c8 /include | |
| parent | Fixed bug where half-registered users would be propogated if they were half c... (diff) | |
| download | inspircd++-e1a92daeb657da58dcfcc2f1256193cb72295635.tar.gz inspircd++-e1a92daeb657da58dcfcc2f1256193cb72295635.tar.bz2 inspircd++-e1a92daeb657da58dcfcc2f1256193cb72295635.zip | |
Added opaque protocol functions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2069 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
| -rw-r--r-- | include/inspircd.h | 1 | ||||
| -rw-r--r-- | include/modules.h | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index b3e05b651..9bf0b8878 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -65,6 +65,7 @@ #define TYPE_USER 1 #define TYPE_CHANNEL 2 +#define TYPE_SERVER 3 typedef std::deque<std::string> file_cache; diff --git a/include/modules.h b/include/modules.h index dd141ae61..008604d9f 100644 --- a/include/modules.h +++ b/include/modules.h @@ -427,6 +427,12 @@ class Module : public classbase virtual void OnMode(userrec* user, void* dest, int target_type, std::string text); virtual void OnGetServerDescription(std::string servername,std::string &description); + + virtual void OnSyncUser(userrec* user, Module* proto, void* opaque); + + virtual void OnSyncChannel(chanrec* chan, Module* proto, void* opaque); + + virtual void ProtoSendMode(void* opaque, int target_type, void* target, std::string modeline); virtual int OnUserPreNick(userrec* user, std::string newnick); |
