summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-12 00:35:19 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-12 00:35:19 +0000
commit76ef4a17de34b7e8a9b6b3687f8a12a65fe28105 (patch)
tree2e841f6455656cb1a545a0c37a6f5e15eaa1ace6
parentbd178c8172abb5662d60e3f0465ebda42d89a197 (diff)
Update inline documentation for DelFd() so the doxygen docs will be correct.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6300 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/socketengine.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/socketengine.h b/include/socketengine.h
index 557c314c6..729f5e090 100644
--- a/include/socketengine.h
+++ b/include/socketengine.h
@@ -224,7 +224,15 @@ public:
* and false if it failed. This does not free the
* EventHandler pointer using delete, if this is
* required you must do this yourself.
+ * Note on forcing deletes. DO NOT DO THIS! This is
+ * extremely dangerous and will most likely render the
+ * socketengine dead. This was added only for handling
+ * very rare cases where broken 3rd party libs destroys
+ * the OS socket beyond our control. If you can't explain
+ * in minute details why forcing is absolutely necessary
+ * then you don't need it. That was a NO!
* @param eh The event handler object to remove
+ * @param force *DANGEROUS* See method description!
* @return True if the event handler was removed
*/
virtual bool DelFd(EventHandler* eh, bool force = false);