summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2008-04-04Fix broken fjoin, looks like we forgot something when porting to new format :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9338 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04The start of extended bans infrastructure: syntax is e.g. +b n:w00tdiff@*, ↵w00t
bans of any type can be applied and checked against, but there's more to come with this. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9337 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04See this brainw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9336 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Apply our own version of mminds patch that doesnt have #defines in itbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9334 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Add simple modes to FJOIN instead of sending a seperate FMODE all the time. ↵w00t
This has the benefit of less bandwidth, making us closer to TS6 compliant, and perhaps defeating a few desync conditions in the future.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9333 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Dont check APrefix both times :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9332 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Better checksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9331 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Throw exception if both the prefix chars are defined and the same (thaks ↵brain
danieldg) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9330 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Allow for custom prefixes as status chars in /notice @#chan etc. Up until ↵brain
now theyve just used a hard coded check on @%+. This slows down writing to a channels users by a small amount, but only when writing to a prefix is happening. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9329 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Remove calls to deprecated InspIRCd::Log(), thanks danieldg for reporting.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9327 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Zap printfsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9326 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Fix lost messages, thanks w00t and peaveybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9325 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04fix warningsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9324 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Attempt to avoid infinite loopsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9323 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Fix this (thx danieldg and owine)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9322 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Whoops, thanks w00tbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9319 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Whoops, wrong pointer. write out 500 lines 'i will check my code twice', brain.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9318 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Make it buildablebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9317 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Whoops, this would be bad if not fixed :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9316 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Fix chanlog (NOTE: previous commit will require a FULL recompile)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9315 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Remote server PRIVMSG/NOTICE to nickname supportbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9314 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Remove two useless methods, chanlog is b0rked at the moment.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9313 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Support for remote NOTICE/PRIVMSG with server origin and user targetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9312 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Add safety check for nonexistent server in receiving server origin privmsg ↵brain
(shouldnt happen as we vet the uid higher up the chain, but check anyway!) Also add trigger for OnText to remove privmsg/notice git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9311 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Modify chanlog to send message remotely, too. Logging now works server <-> ↵w00t
server, so a whole network can log stuff to a single channel. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9310 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Extra safety required by recent changesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9309 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Add protocol api functions: PI->WriteChannelPrivmsg() and ↵brain
PI->WriteChannelNotice() - sends with SID origin over network git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9308 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Server origin PRIVMSG and NOTICE now supported by protocol. Will add ↵brain
interface after i've shredded a load of paper >:) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9307 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Server origin privmsg, UNTESTED - will test in a minbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9306 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Change the function name because gcc is dumb :/brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9305 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Whoops, fix typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9304 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04A convenience function for ProtocolInterface::SendMode that just takes a ↵brain
string, then splits it internally to deque for sending to the other function of the same name git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9303 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Now rip out the old handler, and replace with an error log linebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9302 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Make all our modules use the new stuff rather than the send_ eventsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9301 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Match on nick change option for RLine, document m_rline & this option.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9300 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04The rest of the server protocol interface and fix a warning in m_rlinebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9299 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Check for match and apply R:Lines on connectw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9298 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Add basic stuff for protocol interface and implement a couple of the ↵brain
methods. It's all in ServerInstance->PI for calls from other modules/the core git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9297 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-03Patch to fix this module from flagging all client sockets as xmlbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9288 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-02Fixes for bug #493, tidyups to clearing of channel modes on losing FJOIN. ↵brain
Module unloads may also be tidied at a future date but it means reordering some loops in mode.cpp. See around the comment added. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9283 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-02This is better than using a const; Since 1.1 we don't need a value at all, ↵brain
we can Extend with nothing as a bool marker git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9279 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-02Remove unload_kludge: this still isn't handled in a very polite way (it uses ↵w00t
FakeClient to force removal) but it is tidier than it was. We can only do this now FakeClient is global rather than constantly reinstantiated. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9278 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-02Just use string literal instead of declaring a var for itw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9277 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-02DOH! Fix my muppetry of a segfault, and fix some warningsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9273 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-02Automatic detection and allocation of max fds. No longer needs recompile to ↵brain
change, just adjust it in your kernel or whatever and restart insp. Please note that select and iocp socket engines do not support detection and are always set to FD_SETSIZE and 10240 descriptors respectively. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9263 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-02Bahw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9256 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-02Unneededw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9255 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-01Same as 9249w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9250 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-01Remove call to FlushWriteBuffer from BufferedSocket::Write(), this means we ↵w00t
don't try write() pointlessly when we may very well not (chewing CPU), and instead waits for the socketengine to tell us we can write. Tested, works fine. (nothing used this return value anyway) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9247 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-01Some metadata commands were using nicknames to identify the nick to apply ↵brain
the metadata to. fix to use uuid. Also make sure that the ssl metadata is sent after the user is done connecting (prioritize that event after spanningtree's) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9245 e03df62e-2008-0410-955e-edbf42e46eb7