summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-30 09:51:50 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-30 09:51:50 +0000
commit5b8d2c4cabec5e6bb7aaf359e6cf6af9635c8dab (patch)
tree7f9a4687f56d057b933ecaa00fac5f5e7eccbfb9 /include
parentd54fd9b1e6b31f69332a9241b5f17330c0ad61e0 (diff)
Remove a ton of <typeinfo>, <iostream>, <sstream> etc that we usually never use
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5081 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/command_parse.h2
-rw-r--r--include/commands/cmd_away.h6
-rw-r--r--include/commands/cmd_commands.h6
-rw-r--r--include/commands/cmd_die.h6
-rw-r--r--include/commands/cmd_eline.h6
-rw-r--r--include/commands/cmd_gline.h8
-rw-r--r--include/commands/cmd_info.h6
-rw-r--r--include/commands/cmd_invite.h6
-rw-r--r--include/commands/cmd_ison.h6
-rw-r--r--include/commands/cmd_join.h6
-rw-r--r--include/commands/cmd_kick.h6
-rw-r--r--include/commands/cmd_kill.h6
-rw-r--r--include/commands/cmd_kline.h6
-rw-r--r--include/commands/cmd_links.h6
-rw-r--r--include/commands/cmd_list.h6
-rw-r--r--include/commands/cmd_loadmodule.h6
-rw-r--r--include/commands/cmd_lusers.h6
-rw-r--r--include/commands/cmd_map.h6
-rw-r--r--include/commands/cmd_modules.h6
-rw-r--r--include/commands/cmd_names.h6
-rw-r--r--include/commands/cmd_nick.h6
-rw-r--r--include/commands/cmd_notice.h6
-rw-r--r--include/commands/cmd_oper.h6
-rw-r--r--include/commands/cmd_part.h6
-rw-r--r--include/commands/cmd_ping.h6
-rw-r--r--include/commands/cmd_pong.h2
-rw-r--r--include/commands/cmd_privmsg.h6
-rw-r--r--include/commands/cmd_qline.h6
-rw-r--r--include/commands/cmd_quit.h6
-rw-r--r--include/commands/cmd_rehash.h6
-rw-r--r--include/commands/cmd_server.h6
-rw-r--r--include/commands/cmd_stats.h7
-rw-r--r--include/commands/cmd_time.h6
-rw-r--r--include/commands/cmd_topic.h6
-rw-r--r--include/commands/cmd_trace.h6
-rw-r--r--include/commands/cmd_unloadmodule.h6
-rw-r--r--include/commands/cmd_user.h6
-rw-r--r--include/commands/cmd_userhost.h6
-rw-r--r--include/commands/cmd_version.h6
-rw-r--r--include/commands/cmd_wallops.h6
-rw-r--r--include/commands/cmd_who.h6
-rw-r--r--include/commands/cmd_whois.h6
-rw-r--r--include/commands/cmd_whowas.h6
-rw-r--r--include/commands/cmd_zline.h6
-rw-r--r--include/cull_list.h3
-rw-r--r--include/mode.h3
-rw-r--r--include/modules.h1
-rw-r--r--include/xline.h3
48 files changed, 2 insertions, 267 deletions
diff --git a/include/command_parse.h b/include/command_parse.h
index ca12ff1a1..908add7dd 100644
--- a/include/command_parse.h
+++ b/include/command_parse.h
@@ -17,8 +17,6 @@
#ifndef __COMMAND_PARSE_H
#define __COMMAND_PARSE_H
-#include <typeinfo>
-#include <iostream>
#include <string>
#include "users.h"
#include "ctables.h"
diff --git a/include/commands/cmd_away.h b/include/commands/cmd_away.h
index 52257bab1..3f9eddb87 100644
--- a/include/commands/cmd_away.h
+++ b/include/commands/cmd_away.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_commands.h b/include/commands/cmd_commands.h
index 031dec606..2f9c5f4cb 100644
--- a/include/commands/cmd_commands.h
+++ b/include/commands/cmd_commands.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_die.h b/include/commands/cmd_die.h
index cd05c480e..e2b8099a2 100644
--- a/include/commands/cmd_die.h
+++ b/include/commands/cmd_die.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_eline.h b/include/commands/cmd_eline.h
index 23cba4964..03a1a7df8 100644
--- a/include/commands/cmd_eline.h
+++ b/include/commands/cmd_eline.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_gline.h b/include/commands/cmd_gline.h
index 622661e87..726933576 100644
--- a/include/commands/cmd_gline.h
+++ b/include/commands/cmd_gline.h
@@ -17,14 +17,8 @@
#ifndef __CMD_GLINE_H__
#define __CMD_GLINE_H__
-// include the common header files
+// include the common header file
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_info.h b/include/commands/cmd_info.h
index bcf12c146..368f1efbd 100644
--- a/include/commands/cmd_info.h
+++ b/include/commands/cmd_info.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_invite.h b/include/commands/cmd_invite.h
index 88a0f180b..9b68d2239 100644
--- a/include/commands/cmd_invite.h
+++ b/include/commands/cmd_invite.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_ison.h b/include/commands/cmd_ison.h
index 0bc5da408..567f8e608 100644
--- a/include/commands/cmd_ison.h
+++ b/include/commands/cmd_ison.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_join.h b/include/commands/cmd_join.h
index 4ead0e80e..c57268cd6 100644
--- a/include/commands/cmd_join.h
+++ b/include/commands/cmd_join.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_kick.h b/include/commands/cmd_kick.h
index e57f9f78c..356338b24 100644
--- a/include/commands/cmd_kick.h
+++ b/include/commands/cmd_kick.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_kill.h b/include/commands/cmd_kill.h
index 0bf7517f6..a2f361a95 100644
--- a/include/commands/cmd_kill.h
+++ b/include/commands/cmd_kill.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_kline.h b/include/commands/cmd_kline.h
index 86521484a..7e79f1021 100644
--- a/include/commands/cmd_kline.h
+++ b/include/commands/cmd_kline.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_links.h b/include/commands/cmd_links.h
index 284728aee..89ee7e15c 100644
--- a/include/commands/cmd_links.h
+++ b/include/commands/cmd_links.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_list.h b/include/commands/cmd_list.h
index af7d6d774..be24b87c7 100644
--- a/include/commands/cmd_list.h
+++ b/include/commands/cmd_list.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_loadmodule.h b/include/commands/cmd_loadmodule.h
index 4e86058ce..c82560653 100644
--- a/include/commands/cmd_loadmodule.h
+++ b/include/commands/cmd_loadmodule.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_lusers.h b/include/commands/cmd_lusers.h
index 3600cb8e9..ab3c2f601 100644
--- a/include/commands/cmd_lusers.h
+++ b/include/commands/cmd_lusers.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_map.h b/include/commands/cmd_map.h
index c472bada4..4a06b3069 100644
--- a/include/commands/cmd_map.h
+++ b/include/commands/cmd_map.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_modules.h b/include/commands/cmd_modules.h
index 75b24d108..537f510f5 100644
--- a/include/commands/cmd_modules.h
+++ b/include/commands/cmd_modules.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_names.h b/include/commands/cmd_names.h
index 1ec8e811c..c3e87e324 100644
--- a/include/commands/cmd_names.h
+++ b/include/commands/cmd_names.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_nick.h b/include/commands/cmd_nick.h
index ee9195f0b..1924ce1e8 100644
--- a/include/commands/cmd_nick.h
+++ b/include/commands/cmd_nick.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_notice.h b/include/commands/cmd_notice.h
index 19fbc3365..24aa773c1 100644
--- a/include/commands/cmd_notice.h
+++ b/include/commands/cmd_notice.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_oper.h b/include/commands/cmd_oper.h
index afb10e3cb..cfbdb8815 100644
--- a/include/commands/cmd_oper.h
+++ b/include/commands/cmd_oper.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_part.h b/include/commands/cmd_part.h
index 59af15a87..60e7911d1 100644
--- a/include/commands/cmd_part.h
+++ b/include/commands/cmd_part.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_ping.h b/include/commands/cmd_ping.h
index 7afabc816..2ad2aca68 100644
--- a/include/commands/cmd_ping.h
+++ b/include/commands/cmd_ping.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_pong.h b/include/commands/cmd_pong.h
index 2399603e7..d89b3b877 100644
--- a/include/commands/cmd_pong.h
+++ b/include/commands/cmd_pong.h
@@ -19,8 +19,6 @@
// include the common header files
-#include <string>
-#include <vector>
#include "inspircd.h"
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_privmsg.h b/include/commands/cmd_privmsg.h
index 8ed0bbe8d..c50d826d2 100644
--- a/include/commands/cmd_privmsg.h
+++ b/include/commands/cmd_privmsg.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_qline.h b/include/commands/cmd_qline.h
index 365561929..e6468b4eb 100644
--- a/include/commands/cmd_qline.h
+++ b/include/commands/cmd_qline.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_quit.h b/include/commands/cmd_quit.h
index 937836e81..9d11538df 100644
--- a/include/commands/cmd_quit.h
+++ b/include/commands/cmd_quit.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_rehash.h b/include/commands/cmd_rehash.h
index cb2d2e666..f410f37b1 100644
--- a/include/commands/cmd_rehash.h
+++ b/include/commands/cmd_rehash.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_server.h b/include/commands/cmd_server.h
index 548c361a8..181e53af2 100644
--- a/include/commands/cmd_server.h
+++ b/include/commands/cmd_server.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_stats.h b/include/commands/cmd_stats.h
index 74cf86d4c..591b3e755 100644
--- a/include/commands/cmd_stats.h
+++ b/include/commands/cmd_stats.h
@@ -19,12 +19,7 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
+#include "inspircd.h"
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_time.h b/include/commands/cmd_time.h
index 506bb8527..a75747a6e 100644
--- a/include/commands/cmd_time.h
+++ b/include/commands/cmd_time.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_topic.h b/include/commands/cmd_topic.h
index 6475adb43..3b3f7090c 100644
--- a/include/commands/cmd_topic.h
+++ b/include/commands/cmd_topic.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_trace.h b/include/commands/cmd_trace.h
index 84ea8b6c3..8fe3b166a 100644
--- a/include/commands/cmd_trace.h
+++ b/include/commands/cmd_trace.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_unloadmodule.h b/include/commands/cmd_unloadmodule.h
index 222464525..0104d04b1 100644
--- a/include/commands/cmd_unloadmodule.h
+++ b/include/commands/cmd_unloadmodule.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_user.h b/include/commands/cmd_user.h
index f529f6108..919078193 100644
--- a/include/commands/cmd_user.h
+++ b/include/commands/cmd_user.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_userhost.h b/include/commands/cmd_userhost.h
index f065b468c..83ae27678 100644
--- a/include/commands/cmd_userhost.h
+++ b/include/commands/cmd_userhost.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_version.h b/include/commands/cmd_version.h
index 478577a68..6a77725c1 100644
--- a/include/commands/cmd_version.h
+++ b/include/commands/cmd_version.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_wallops.h b/include/commands/cmd_wallops.h
index c637e6e98..819fa121e 100644
--- a/include/commands/cmd_wallops.h
+++ b/include/commands/cmd_wallops.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_who.h b/include/commands/cmd_who.h
index 1181ac0e1..fff9737ad 100644
--- a/include/commands/cmd_who.h
+++ b/include/commands/cmd_who.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_whois.h b/include/commands/cmd_whois.h
index 962444a82..26e2e52c3 100644
--- a/include/commands/cmd_whois.h
+++ b/include/commands/cmd_whois.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_whowas.h b/include/commands/cmd_whowas.h
index 951ba0f28..1664a847d 100644
--- a/include/commands/cmd_whowas.h
+++ b/include/commands/cmd_whowas.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/commands/cmd_zline.h b/include/commands/cmd_zline.h
index 0e2f1041d..eefd3c642 100644
--- a/include/commands/cmd_zline.h
+++ b/include/commands/cmd_zline.h
@@ -19,12 +19,6 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/cull_list.h b/include/cull_list.h
index 96d5a83c5..e20e4556a 100644
--- a/include/cull_list.h
+++ b/include/cull_list.h
@@ -19,11 +19,8 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
#include <string>
#include <deque>
-#include <sstream>
#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/mode.h b/include/mode.h
index 4cdab2884..0b85a0bac 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -18,11 +18,8 @@
#define __MODE_H
/* include the common header files */
-#include <typeinfo>
-#include <iostream>
#include <string>
#include <deque>
-#include <sstream>
#include <vector>
#include "users.h"
#include "channels.h"
diff --git a/include/modules.h b/include/modules.h
index f80960f6f..2754a42c2 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -64,7 +64,6 @@ enum TargetTypeFlags {
#include <string>
#include <deque>
#include <sstream>
-#include <typeinfo>
#include "timer.h"
#include "mode.h"
#include "dns.h"
diff --git a/include/xline.h b/include/xline.h
index 9c42a32e5..26a3acf87 100644
--- a/include/xline.h
+++ b/include/xline.h
@@ -19,11 +19,8 @@
// include the common header files
-#include <typeinfo>
-#include <iostream>
#include <string>
#include <deque>
-#include <sstream>
#include <vector>
#include "users.h"
#include "channels.h"