summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
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-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-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-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-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-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
2006-12-26Just a little tweak so trigger values makes more sense.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6123 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26Add support for config option for percent and minimum string length +P will ↵peavey
trigger on. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6121 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-25Fix m_httpd always crashing in destructor if no active Timeout.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6112 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Fix broken +G for AnMaster (thanks for pointing out the bug)brain
Also: MAJOR speed increase for *any network that loads m_censor*! It seems that this was looping all the censor items (not attempting a replace though) for all channels and users, even those that WERE NOT +G! Fixed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6109 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Double whoopsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6107 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Whoops!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6106 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24SQLQuery operator% and operator, now support any data typebrain
(these are templated, and pass the type through ConvToStr()) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6105 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Relatively small typo fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6088 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Hash rehashing changebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6080 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Fix bug in m_dnsbl, a condition is always matched because someone was using ↵brain
unsigned int to check a return val that can be -1 *slap w00t* Change around the way exit codes are formed so that we can return a sensible exit code that reflects why inspircd exited git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6076 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Refactored /RESTART (and added InspIRCd::Restart(reason))brain
Fixed bug in m_ziplinks, assigning instead of testing a var (gcc 4.1.1 picked up on this, 3.4 didnt) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6067 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-22Fix for alias var names within aliasesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6059 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-21Fix for bug #180, logging is not threadsafe, mutex it (ew, luckily we dont ↵brain
log much) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6056 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-21This should fix the issue with unsetting +Jspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6050 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-19Fix server prefix on JOIN.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6048 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-18Fix bug in m_dnsbl: Only the first <dnsbl> tag would be processed.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6041 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Fix this (at last) to only log commands which are operonlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6036 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Correctly send TS in JOIN so that services packages etc dont become ↵brain
desynched (plus our own protocol docs say we do this when we send JOIN, oops breaking my own standards now) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6034 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Dont use FJOIN to join users to channels outside the burst (revert to ↵brain
earlier betas behaviour) which should prevent some spurious deops during normal operation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6032 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17When receiving an FJOIN, if we have no local users, dont send deops, this ↵brain
just contributes to pointless server noise git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6028 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Handle removal of permenant svsholdsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6027 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Fix potential crash, not enough parameters for va_arg when adding perm SVSHOLDbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6026 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Use safe iter for deleting while iteratingpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6024 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17someone test this pleasebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6023 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Add format="" value, at request of Emeric.brain
See: http://www.inspircd.org/forum/index.php/topic,245.0.html git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6019 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Allow linefeeds in this module in one valuebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6016 e03df62e-2008-0410-955e-edbf42e46eb7