summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Burchell <robin+git@viroteck.net>2012-07-01 21:11:59 +0200
committerRobin Burchell <robin+git@viroteck.net>2012-07-01 21:11:59 +0200
commit2c3745edb3013d4ffce393337566a8a58924740b (patch)
tree15a8fa22aa166ebb29e358a582300197289d5175 /include
parent6db09883f29f385b528d3771d3d89c63d81863c8 (diff)
Revert "users: introduce OnSetClientIP hook."
This reverts commit 5fd31ec5a6ba6021763b36d8d17d4665900623ab.
Diffstat (limited to 'include')
-rw-r--r--include/modules.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/modules.h b/include/modules.h
index 7cd6bbeab..b428a5f8d 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -116,7 +116,7 @@ struct ModResult {
* and numerical comparisons in preprocessor macros if they wish to support
* multiple versions of InspIRCd in one file.
*/
-#define INSPIRCD_VERSION_API 2
+#define INSPIRCD_VERSION_API 1
/**
* This #define allows us to call a method in all
@@ -339,7 +339,6 @@ enum Implementation
I_OnWhoisLine, I_OnBuildNeighborList, I_OnGarbageCollect, I_OnSetConnectClass,
I_OnText, I_OnPassCompare, I_OnRunTestSuite, I_OnNamesListItem, I_OnNumeric, I_OnHookIO,
I_OnPreRehash, I_OnModuleRehash, I_OnSendWhoLine, I_OnChangeIdent,
- I_OnSetClientIP,
I_END
};
@@ -1289,11 +1288,6 @@ class CoreExport Module : public classbase, public usecountbase
* @param line The raw line to send; modifiable, if empty no line will be returned.
*/
virtual void OnSendWhoLine(User* source, const std::vector<std::string>& params, User* user, std::string& line);
-
- /** Called whenever a User's ip changes.
- * @param user The user whose ip changed.
- */
- virtual void OnSetClientIP(User *user);
};