]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fixed example config
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 9 Apr 2004 11:50:02 +0000 (11:50 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 9 Apr 2004 11:50:02 +0000 (11:50 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@466 e03df62e-2008-0410-955e-edbf42e46eb7

docs/inspircd.conf.example
src/inspircd.cpp

index 6042dc3cf56a9869dbda06cd2efc3ae57a724b26..c9756c85857ae2be3f0af1cd87275e5c09242ef3 100644 (file)
 #   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.*">
index edec94250b0707b740a3079333dc7ed360e5aec8..6c7e4ef32a67b135202cb9b29bda16f562400f25 100644 (file)
@@ -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))
                                {