summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-04-28 15:16:22 +0200
committerAttila Molnar <attilamolnar@hush.com>2015-04-28 15:16:22 +0200
commit8f34594cb7d600ccff100dff1817b69b03756ea2 (patch)
treefecbd61c35bd75add033a71b42043a0c99624c99 /include/inspircd.h
parent04eb0e182dec8518d1dfd15a09b8054d1501a4ef (diff)
Move OnWhois* events to core_whois, add Whois::Context
Remove InspIRCd::SendWhoisLine()
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index ef19c6d26..b90c0c797 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -604,23 +604,6 @@ class CoreExport InspIRCd
*/
InspIRCd(int argc, char** argv);
- /** Send a line of WHOIS data to a user.
- * @param user user to send the line to
- * @param dest user being WHOISed
- * @param numeric Numeric to send
- * @param text Text of the numeric
- */
- void SendWhoisLine(User* user, User* dest, int numeric, const std::string &text);
-
- /** Send a line of WHOIS data to a user.
- * @param user user to send the line to
- * @param dest user being WHOISed
- * @param numeric Numeric to send
- * @param format Format string for the numeric
- * @param ... Parameters for the format string
- */
- void SendWhoisLine(User* user, User* dest, int numeric, const char* format, ...) CUSTOM_PRINTF(5, 6);
-
/** Called to check whether a channel restriction mode applies to a user
* @param User that is attempting some action
* @param Channel that the action is being performed on
@@ -685,3 +668,5 @@ inline void stdalgo::culldeleter::operator()(classbase* item)
if (item)
ServerInstance->GlobalCulls.AddItem(item);
}
+
+#include "modules/whois.h"