summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-12-30Change delays to 1 sec.brain
NOTE: The chances of this actually waiting for 1 sec on any sizeable network are miniscule git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6176 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30The world is coming to an end!!! RUN AWAY!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6175 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30Fix typo in warning, and make it sound less like the world is coming to an end.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6174 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30Now REHASH checks for same and old connections, same as the DNS resolver. So ↵peavey
that the connections are only reset if things were changed. \o/ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6173 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30Tweaks to instantiate less stuff when writing to a bunch of usersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6172 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30Tons of optimization of WriteChannel, WriteChannelWithServ, WriteCommon etc, ↵brain
dont call userrec::GetFullHost or snprintf for every item, call it just once. Turns O(n) calls for every write into O(~1) calls per write. Remove some debug from the socketengines which makes debugging hard on large channels (write availability message) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6171 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30Add unregistered user counter, this may also fix the (minor) m_conn_lusers ↵brain
shows current connection as unregged git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6170 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30Change description for insp_aton since only a positive return means ↵peavey
convertion was a success. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6169 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30Majorly funk around with this, still needs check for config change on REHASH.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6168 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-30That should make it load/unload, still needs REHASH done proper.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6167 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Fix for w00tbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6166 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Fix my whoopsiesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6165 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29This doesnt need to be staticbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6164 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Add counter system for umodes to get rid of some O(n)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6163 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Fixed search and replace, code pilfered from m_alias (i think someone ↵brain
misread the help for std::string::replace...) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6162 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29A few fixes, but i cant see why the reverse check doesnt workbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6161 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Oops slippy fingers.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6160 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Less debug.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6159 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Fix for rehash/load/unload.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6158 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Fix desync (modes not being pushed to remote servers with send_mode event)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6157 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Majorly rewrite to totally funk up SQL logging module. Works well with both ↵peavey
MySQL and PostGres now. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6156 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Writing beyond malloc'ed mem of a char pointer will crash with a vengeance. ↵peavey
Fix it by actually doing the +1 mentioned in the comment above, but lacking from the actual code. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6155 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Should fix bug #183 (rconnect issues), thanks Brickerspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6154 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Oops. Forgot table ircd_log_hosts.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6153 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Writing beyond malloc'ed mem of a char pointer will crash with a vengeance. ↵peavey
Fix it by actually doing the +1 mentioned in the comment above, but lacking from the actual code. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6152 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Forgot to init it, clean up mem leakage too and log X-Lines proper.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6151 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Also using new interface methods, and maybe less crashage.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6150 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Change the SQLutils and SQL providers to also use interfaces for proper ↵peavey
unload order, taking away the need for a static m_sqlutils. Depend order: m_sqlutils -> sql providers (m_mysql m_pgsql) -> sql modules (m_sqlauth m_sqloper). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6149 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Copyright header added.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6148 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Just a comment.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6147 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Schema for sqloper for PostGre.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6146 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Schema for PostGre.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6145 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Fix mem leakage in reading in and connecting to databases and have ↵peavey
destructor call mem cleanup too and end the endless loop too so /RESTART and /DIE works with no segfault. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6144 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28microly minorly typo.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6142 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Add m_lockserv to example conf.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6140 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Fix for empty 005 linesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6139 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Tidy up indenting in here and remove a ^Mbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6138 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Reasonably sized fix - when adding modes in modules, be sure to check the ↵brain
return value so we dont load two modules with conflicting modes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6137 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Add support for LOCKSERV/UNLOCKSERV to block/open for new connections. ↵peavey
Thanks to LeaChim for first version too. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6136 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Add m_dnsbl to example conf.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6135 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Tidyup and is now a vendor module.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6134 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Whoops unused variable.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6133 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Add cleanup of objects on readconf and in destructor.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6132 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Remove an extra delete that caused a segfault.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6131 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26Fix deprotectself=no not working.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6130 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26Beta 8 track! (oh, and there are now officially more 1.1 betas than there ↵brain
were 1.0 betas) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6129 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26Crux!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6127 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26have configure detect SOMAXCONN and store it in a string define, SOMAXCONN_Sbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6126 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26Add defaults for a ton of config vars, fix indentation, and add MAXCLIENTS_S ↵brain
to avoid one of the itoa()'s git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6125 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26Change to use std::string::iterator rather than making a copy of the pointer ↵brain
and using .c_str() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6124 e03df62e-2008-0410-955e-edbf42e46eb7