diff options
-rw-r--r-- | docs/inspircd.conf.example | 2 | ||||
-rw-r--r-- | src/inspircd.cpp | 8 |
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)) { |