summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-28 10:26:35 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-28 10:26:35 +0000
commit0e5b1c94b30ec2f3cd73e72e379398dae55fbbd2 (patch)
tree354ba59cc0c8f945bfdbdc318381bdf865ed6324 /src/modules.cpp
parent9ade2d89bf8106925ffeb0f26742f0ffa99f028f (diff)
Added OnUserMessage and OnUserNotice (why have these been missing so long?)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1974 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index cb0f1e634..3d009a4bf 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -359,6 +359,8 @@ void Module::OnRawSocketAccept(int fd, std::string ip, int localport) { };
int Module::OnRawSocketWrite(int fd, char* buffer, int count) { return 0; };
void Module::OnRawSocketClose(int fd) { };
int Module::OnRawSocketRead(int fd, char* buffer, unsigned int count, int &readresult) { return 0; };
+void OnUserMessage(userrec* user, void* dest, int target_type, std::string text) { };
+void OnUserNotice(userrec* user, void* dest, int target_type, std::string text) { };
// server is a wrapper class that provides methods to all of the C-style
// exports in the core