diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-29 17:09:06 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-29 17:09:06 +0000 |
commit | de6a9294e350a7339e280ab3e8a5f4c8d1343660 (patch) | |
tree | c45d06c0c2db5044ea5b4de3e7647975c16543d5 /src/modules.cpp | |
parent | 76f43a55180e8b8e8e3bbb32be3931ca1431666a (diff) |
Added opertype to OnOper and added OnMode function
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2010 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 61abe5564..ec1f03eee 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -316,8 +316,9 @@ void Module::OnRehash() { } void Module::OnServerRaw(std::string &raw, bool inbound, userrec* user) { } int Module::OnUserPreJoin(userrec* user, chanrec* chan, const char* cname) { return 0; } int Module::OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list ¶ms) { return false; } +void Module::OnMode(userrec* user, void* dest, int target_type, std::string text); Version Module::GetVersion() { return Version(1,0,0,0,VF_VENDOR); } -void Module::OnOper(userrec* user) { }; +void Module::OnOper(userrec* user, std::string opertype) { }; void Module::OnInfo(userrec* user) { }; void Module::OnWhois(userrec* source, userrec* dest) { }; int Module::OnUserPreInvite(userrec* source,userrec* dest,chanrec* channel) { return 0; }; |