summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-03-30Move _ext to replace the original, SVSSILENCE comes nextw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9231 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30Remove m_silence: this is 1.2 only. m_silence_ext is a fully backwards ↵w00t
compatible copy of silence, with some additional features that have no impact on usage etc, so it makes no real sense to bloat out the compile like this git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9230 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30Make sure CAPAB always comes before SERVER on either side of the link at all ↵brain
times git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9229 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30AWAY notification for WATCH. Numerics are now sent out when a user goes away ↵w00t
(or returns from AWAY), as well as in WATCH L (if the user is online and away). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9227 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30More docs on data structuresw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9226 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30Fixybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9225 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30Change this return type to int from void. WHY didn't this error for me.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9224 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30Merge OnCancelAway and OnSetAway, add param awaymsg to OnSetAway (blank when ↵w00t
cancelling), and change return type to int so modules can block away messages by returning nonzero. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9223 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30Whack format warning, do these differ between gcc versions or something?!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9222 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30Add override option to operjoin, handy if your operchan has a key or is ↵peavey
invite only. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9219 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30whack a couple of format warnings now showing with r9217peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9218 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30Commit -Wformat=2 -Wmissing-format-attributes, printf-like functions in ↵aquanight
inspircd now get treated like printf (meaning compile-time check goodness) in GCC git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9217 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30The bug we fixed for bug #506 may still occur in trunk if a module adjusts ↵brain
the nick and prefix output in the same way via OnNamesListItem, so we really should apply a similar fix here too git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9216 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-29Test commit. .coders now has CIA (instant notification) and the other ↵brain
channels that need to be informed when its available on the public svn get PostBot. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9215 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-29Unknown as to if the old code worksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9213 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-29Add support for <sqloper:hash> value, references 'md5', 'sha256' and finds ↵brain
the required provider git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9211 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-29Use the right passbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9210 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-29Allow freeform queries. Allow $nick, $host, $ip, $pass, $md5pass and ↵brain
$sha256pass in the query. Ability of md5pass and sha256pass variables is dependent upon presence of m_sha256.so or m_md5.so. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9209 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-29Cast this to const unsigned char, not just unsigned char. We don't/can't ↵w00t
modify them, and this avoids a warning on some compilers. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9205 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-28git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9201 ↵w00t
e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-28Wrong place probablyw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9200 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-28Don't desync when blanking metadata with remote servers (seperate bug)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9199 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-28Don't desync when setting swhoisw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9198 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-28Forwardport r9195w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9196 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-27Thanks danieldgbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9194 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24Allow activation of TLS via STARTTLS even if CAP REQ tls isnt given, so that ↵brain
CAP can be overridden if needed in testing git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9193 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24Should now work with ports bound to all interfacesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9192 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24A load of classes dont inherit from classbase, and they should. fix.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9191 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24This module uses io hooking too, fix it upbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9190 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24openssl should now work toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9189 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24Port bindings for gnutls now bind via ip:port, rather than on all ports for ↵brain
that ip, fixes feature request for roadmap. NOTE, this still needs doing for the openssl module! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9188 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24Add stuff so that modules can hook users by altering a pointer in the User ↵brain
class. Note that ssl modules still bind by port, but the idea of doing this change is so we can remove that logic next git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9187 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24And more of thembrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9186 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24Finally change all the Version() objectsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9185 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24Wheeeeeebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9184 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-23CAP TLS now implemented, this needs someone to make a client to test it :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9183 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-23Clean up user/chan modes on deoper, fix memsets off-by-1, delete[] properly ↵aquanight
in destructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9182 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-23These memsets cant rely on sizeof() any more, afaik. The sizeof() would give ↵brain
4 or 8, size of the pointer :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9181 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-23Whoops, take out some foolish memsets (well theyre foolish now :p)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9180 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-23This should save 128 bytes per user for non-opers. Well worth it imho for a ↵brain
reasonably large amount of unused ram. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9179 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-23Add ability to control what opertypes can set what operonly user/chan modes. ↵aquanight
This works the same way as commands, in that modes allowed by classes are added together, and * allows all. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9176 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22Wheeee for HUGE commits. Convert all numerics to WriteNumeric so that ↵brain
OnNumeric can capture them. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9175 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22Add WriteNumeric() to User and OnNumeric module event. Note that modules do ↵brain
not change the numeric text on the fly, as this involves needless allocations for numerics that arent being changed, so instead they block the original numeric and send out their own when needed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9174 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22Fix memory leak if user quits in the middle of sasl AUTHENTICATE stepsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9173 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22Add abort fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9172 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22This works now! (well im sure we'll find something else broken) -- thanks ↵brain
nenolod :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9171 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22Fix for compile errorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9170 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22'AUTHENTICATE C'? Why not authenticate C++ :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9169 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22Patch for IAL abort sequence from nenolodbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9168 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Removal of server prefix from AUTHENTICATE reply, patch courtesy of nenolodbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9167 e03df62e-2008-0410-955e-edbf42e46eb7