summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Rebuild 005 on rehash. Tracker: bug #234Gravatar peavey2007-03-031-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6617 e03df62e-2008-0410-955e-edbf42e46eb7
* Add max line length value to modestacker, so that it can clamp the max ↵Gravatar brain2007-02-251-3/+11
| | | | | | length of a composed line to a given size. Defaults to 350 which should be safe with fmode and mode with a server name git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6609 e03df62e-2008-0410-955e-edbf42e46eb7
* Added sepstream::GetRemaining()Gravatar special2007-02-221-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6608 e03df62e-2008-0410-955e-edbf42e46eb7
* Addition of feature request outlined in bug #195, suggested by BrickerGravatar brain2007-02-191-0/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6602 e03df62e-2008-0410-955e-edbf42e46eb7
* 1) Fix for nickname overruled with new cullList stuff -- we have to change ↵Gravatar brain2007-02-192-1/+9
| | | | | | | | | | | | their nick, its not safe to quit them as it messes up the nick hash. 2) Add a mute flag for users, so we can drop commands from users who have been placed on the cullList. This is independent of the actual cullList and can be used as a general mute flag e.g. by shun modules. 3) Fix /kill to also not quit the user immediately, remove need for CMD_USER_DELETED return anywhere in the code. *** THIS NEEDS TESTING BY QA *** git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6596 e03df62e-2008-0410-955e-edbf42e46eb7
* Change bytes-used counter for commands (used by /stats m) as in excessive ↵Gravatar brain2007-02-171-2/+3
| | | | | | | | | use (see BARAFRANCA!) they can wrap around past 2 million commands. (YES REALLY. THEY ISSUED > 2 MILLION PRIVMSGS) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6590 e03df62e-2008-0410-955e-edbf42e46eb7
* Bump API versionGravatar brain2007-02-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6589 e03df62e-2008-0410-955e-edbf42e46eb7
* Change /msg $* to have the correct source the same way /notice $* doesGravatar brain2007-02-171-2/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6588 e03df62e-2008-0410-955e-edbf42e46eb7
* Bump API version (chanrec::setby increased from NICKMAX to 128)Gravatar brain2007-02-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6573 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow for nick!user@host in TOPIC information.Gravatar brain2007-02-112-1/+6
| | | | | | | Note that this adds another <options> tag value, 'hostintopic'. (defaults to yes) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6572 e03df62e-2008-0410-955e-edbf42e46eb7
* And make it compile. (whoops)Gravatar brain2007-02-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6562 e03df62e-2008-0410-955e-edbf42e46eb7
* timermanager never had a ServerInstance. Give it one so we can use ↵Gravatar brain2007-02-101-0/+5
| | | | | | InspIRCd::Time() rather than time() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6561 e03df62e-2008-0410-955e-edbf42e46eb7
* Add and properly test the ability for an InspTimer to DelTimer itself from ↵Gravatar brain2007-02-091-1/+6
| | | | | | | | | | | within its own Tick method. This wasnt supported before and would corrupt the iterator in the TickTimers() method of TimerManager. Non the less, peaveys new (perfectly sensible) fix broke it because i didnt document the caveat about DelTimer() :p This FIXES m_ident and possibly some other stuff. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6553 e03df62e-2008-0410-955e-edbf42e46eb7
* Ident fixes,Gravatar brain2007-02-071-23/+0
| | | | | | | | removal of some old craq we dont use. cgiirc optimizations and tidyups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6541 e03df62e-2008-0410-955e-edbf42e46eb7
* Added support for explicitly binding an outbound connection to an ip. Will ↵Gravatar brain2007-02-071-2/+5
| | | | | | be used by spanningtree. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6534 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes to allow inspsocket connects to be protocol transparentGravatar brain2007-02-061-24/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6515 e03df62e-2008-0410-955e-edbf42e46eb7
* No gaurantees on this atmGravatar brain2007-02-051-9/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6508 e03df62e-2008-0410-955e-edbf42e46eb7
* This wont compile atmGravatar brain2007-02-051-1/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6507 e03df62e-2008-0410-955e-edbf42e46eb7
* Stuff to make dns work protocol-independentGravatar brain2007-02-052-4/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6506 e03df62e-2008-0410-955e-edbf42e46eb7
* Not safe for use yetGravatar brain2007-02-052-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6502 e03df62e-2008-0410-955e-edbf42e46eb7
* Smart tricks to allow for ipv4 and ipv6 bindings on client ports. WARNING, ↵Gravatar brain2007-02-051-1/+1
| | | | | | NOT FINISHED YET git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6501 e03df62e-2008-0410-955e-edbf42e46eb7
* Move quitting of clients to a central Cull List, and do quitting outside ↵Gravatar peavey2007-02-053-86/+80
| | | | | | userrec and in main loop. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6497 e03df62e-2008-0410-955e-edbf42e46eb7
* Documentation change to indicate errno is valid on return from the ↵Gravatar brain2007-01-301-0/+1
| | | | | | constructor -- dont bother to svn up for this if youre testing right now git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6463 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed (rewrote) m_http_client's URL parsing, it is now more flexible and.. ↵Gravatar special2007-01-201-0/+5
| | | | | | actually works. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6416 e03df62e-2008-0410-955e-edbf42e46eb7
* Someone left the colon off the 'end of list' numeric in u_listmode.h. I dont ↵Gravatar brain2007-01-141-1/+1
| | | | | | know what clients this might break git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6328 e03df62e-2008-0410-955e-edbf42e46eb7
* Added interface 'ChannelBanList' that these two modules implement. Send a ↵Gravatar brain2007-01-141-0/+15
| | | | | | | | | | | request class ListModeRequest to the module to check if a user is matched on a channel: const char* ismatched = ListModeRequest(this, targetmodule, someuser, somechan).Send(); ismatched will be NULL if theyre not matched by the modules list, or will contain the mask if they are matched. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6325 e03df62e-2008-0410-955e-edbf42e46eb7
* g++ is picky about default params with overloadingGravatar brain2007-01-141-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6324 e03df62e-2008-0410-955e-edbf42e46eb7
* Add alias:matchcase config setting (per-alias, determines wether to match ↵Gravatar brain2007-01-141-3/+2
| | | | | | case on format string) and ability for case sensitive match() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6319 e03df62e-2008-0410-955e-edbf42e46eb7
* Update inline documentation for DelFd() so the doxygen docs will be correct.Gravatar peavey2007-01-121-0/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6300 e03df62e-2008-0410-955e-edbf42e46eb7
* Quick tweak before work, set the default force=false in these (im not keen ↵Gravatar brain2007-01-113-3/+3
| | | | | | | | | on 'force' at all, its major ugly hax, but *shrug* :( how does it even know we're using epoll or kqueue etc???) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6298 e03df62e-2008-0410-955e-edbf42e46eb7
* pgsql should now work thx to added posibility to force a fd out of the ↵Gravatar peavey2007-01-114-5/+5
| | | | | | socketengine. This should only be used as a *last resort* when dealing with 3rd party libs that invalidates a file descriptor beyond your control. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6295 e03df62e-2008-0410-955e-edbf42e46eb7
* Comment on a lot of recently added stuff that wasnt properly documented ↵Gravatar brain2007-01-094-8/+190
| | | | | | (until now) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6284 e03df62e-2008-0410-955e-edbf42e46eb7
* Someone forgot to make correct deps for timer.h. Fixed.Gravatar brain2007-01-091-0/+5
| | | | | | | Added InspTimer::CancelRepeat(), we can use this within the Tick method to cancel a repeat so that the timer is deleted after the tick, as DelTimer isnt safe within the Tick method git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6283 e03df62e-2008-0410-955e-edbf42e46eb7
* Have ConvNumeric correctly convert 0 to 0 instead of an empty string.Gravatar peavey2007-01-091-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6278 e03df62e-2008-0410-955e-edbf42e46eb7
* Add specialization for ConvToStr on a single char, return std::string(in,1) :pGravatar brain2007-01-091-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6276 e03df62e-2008-0410-955e-edbf42e46eb7
* This is better, and proved workingGravatar brain2007-01-091-10/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6275 e03df62e-2008-0410-955e-edbf42e46eb7
* This is a bit betterGravatar brain2007-01-091-3/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6274 e03df62e-2008-0410-955e-edbf42e46eb7
* Overloaded template classes for mucho improved ConvToStr speedGravatar brain2007-01-091-2/+33
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6273 e03df62e-2008-0410-955e-edbf42e46eb7
* Cache channel max bans value to save an O(n) loop of match() on every ban ↵Gravatar brain2007-01-092-0/+13
| | | | | | (etc) add git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6267 e03df62e-2008-0410-955e-edbf42e46eb7
* cmd_whowas now uses the shiny new repeating timer.Gravatar peavey2007-01-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6266 e03df62e-2008-0410-955e-edbf42e46eb7
* Add repeating timers, and make an hourly prune of the dns cache, otherwise a ↵Gravatar brain2007-01-082-2/+27
| | | | | | cache entry might not be cleared until a user with that ip comes back! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6264 e03df62e-2008-0410-955e-edbf42e46eb7
* Move whowas containers into whowas class to avoid all cpp files including ↵Gravatar peavey2007-01-081-32/+35
| | | | | | cmd_whowas.h to try and destroy the containers on fork exit.\nThis would cause a segfault when forking due to the containers destroy being called multiple times, but still allow the server to fork it's child and leave the server running. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6260 e03df62e-2008-0410-955e-edbf42e46eb7
* Add /CLEARCACHE, oper only command which completely purges the DNS cache -- ↵Gravatar brain2007-01-082-0/+35
| | | | | | useful if you just want to cut down on ram use at any point. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6259 e03df62e-2008-0410-955e-edbf42e46eb7
* Update a comment, and touch a header just to make people rebuild stuff >:)Gravatar brain2007-01-071-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6256 e03df62e-2008-0410-955e-edbf42e46eb7
* Document dns caching, add a "bool cached" to OnLookupComplete method in ↵Gravatar brain2007-01-073-3/+23
| | | | | | Resolver, and and add " -- cached" to end of 'looking up your host' string if their result is a cached result git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6254 e03df62e-2008-0410-955e-edbf42e46eb7
* And its all done and working!Gravatar brain2007-01-071-1/+1
| | | | | | | (note, we still need to test cache expiry) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6253 e03df62e-2008-0410-955e-edbf42e46eb7
* DNS caching stuff (almost done)Gravatar brain2007-01-072-2/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6252 e03df62e-2008-0410-955e-edbf42e46eb7
* DNS Stuff - this wont work right yet, it will soon (tm)Gravatar brain2007-01-072-5/+41
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6250 e03df62e-2008-0410-955e-edbf42e46eb7
* Move all /WHOWAS related out of core and into cmd_whowas.Gravatar peavey2007-01-073-73/+90
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6249 e03df62e-2008-0410-955e-edbf42e46eb7
* Add TTL stuff to dns system (pass it to inherited objects)Gravatar brain2007-01-072-3/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6247 e03df62e-2008-0410-955e-edbf42e46eb7