summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-09 11:50:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-09 11:50:02 +0000
commit6b0f8c6fbfe715c7588b79b740a9806cb2b015ed (patch)
treee21a9c3010330d14debbe80bc394f96f0d2d829f
parent5a7a3826371642ffed8a2cc912944fb1d2ecfcbc (diff)
Fixed example config
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@466 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--docs/inspircd.conf.example2
-rw-r--r--src/inspircd.cpp8
2 files changed, 3 insertions, 7 deletions
diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example
index 6042dc3cf..c9756c858 100644
--- a/docs/inspircd.conf.example
+++ b/docs/inspircd.conf.example
@@ -118,7 +118,7 @@
# DISABLE this feature. A recommended value is 10. #
-<connect allow="196.12.*" password="tiffany">
+<connect allow="196.12.*" password="secret">
<connect allow="*" timeout="60" flood="10">
<connect deny="69.254.*">
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index edec94250..6c7e4ef32 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -78,9 +78,9 @@ time_t startup_time = time(NULL);
int NetBufferSize = 10240; // NetBufferSize used as the buffer size for all read() ops
extern vector<Module*> modules;
-vector<string> module_names;
+std::vector<std::string> module_names;
extern vector<ircd_module*> factory;
-vector<int> fd_reap;
+std::vector<int> fd_reap;
int client_exit = 0;
@@ -5533,10 +5533,6 @@ int InspIRCd(void)
//if (selectResult2 > 0)
for (user_hash::iterator count2a = xcount; count2a != endingiter; count2a++)
{
- std::vector<string> datastream;
-
- datastream.clear();
-
result = EAGAIN;
if (FD_ISSET (count2a->second->fd, &sfd))
{