summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Expand)AuthorAgeFilesLines
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-201-8/+23
* Add some more info about logging types and levels to the config file, correct...Gravatar Robby-2012-04-171-1/+1
* Explicitly shut down stdio's stdin/stdout/stderr.•••The previous logic here was to only do this if stdio was connected to a controlling terminal. However, we must do this always to avoid information leaks and other problems related to stdio. The only exception is if we are in debug mode. Gravatar William Pitcock2012-04-151-17/+31
* Move my name from regular contributors to developersGravatar Jackmcbarn2011-09-281-2/+2
* Fix printf format warning•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11508 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-08-121-1/+1
* Fixes for config reader•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-08-121-24/+2
* Fix thread join not working for subclasses of Thread because of C++ destructo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11500 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-08-101-0/+1
* Make sure usage lines up neatly.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11465 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-08-021-2/+1
* Fix possible segfault on giving an unknown cmdline argument. index holds the ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11439 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-07-041-1/+1
* Make rehash generate a new ServerInstance->Config object•••This makes it possible to cancel a pending rehash, and fixes possible threading issues with rehash and other events. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11424 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-07-011-12/+10
* Move list of open ports out of Config object•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11423 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-07-011-4/+4
* Makefile updates: clean up command lines•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11395 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-06-011-0/+1
* OnRehash changes: split to multiple hooks to clarify use and prevent explosio...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-241-10/+4
* Use Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtree•••This makes it possible to determine which server initiated a mode change, instead of having only a flag saying that some server did. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11379 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-131-0/+1
* Make the previous patches actually work•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11378 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-131-1/+1
* Create subclass of User for FakeClient, to allow for use as command source•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11375 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-131-2/+1
* Remove FindDescriptor wrapper for GetRef, it doesn't do anything useful and i...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11364 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-05-061-2/+0
* Re-add the default case to commandline parsing (if it happens, it's better to...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11299 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2009-04-091-1/+3
* The correct way to detect unknown parameter for getopt_long_only() is looking...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11298 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-04-091-3/+5
* Fix the problem described in bug #827; an improper cast when parsing commandl...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11294 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2009-04-091-1/+1
* ConfigReaderThread updates: add done flag, remove main-thread-only mutex•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11256 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-231-3/+1
* ThreadEngine: remove MutexFactory, mutexes should be constructed using their ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11250 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-231-10/+3
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1
* Nuke trailing spaces•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-02-141-8/+8
* Trap SIGXFSZ•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11067 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-02-091-0/+2
* Credits updates.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11009 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-271-1/+1
* Remove extra 'i'.. oopsie :P•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10939 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-031-1/+1
* Remove silly comment from r10,000.. mostly just testing vim..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10938 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-031-1/+1
* Branch merge•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10933 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Mark a member static so it isn't exported needlessly.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10918 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-271-1/+1
* Place CRT debug defines in win32wrapper.h, so they are defined everywhere. Th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10917 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-271-7/+0
* Remove extra 'i'.. oopsie :P•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10916 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-271-1/+1
* Remove silly comment from r10,000.. mostly just testing vim..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10915 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-271-3/+1
* Wakey wakey w00t :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10900 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-12-181-1/+1
* Fix a windows compile screwup, courtesy of me.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10899 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-181-1/+4
* If we can't find file.conf, search for file.conf.txt when on windows.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10872 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-081-3/+13
* Ugly ugly craq in here in the cleanup stuff. Can be done nicer with a templat...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10862 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-12-071-94/+26
* national_case_sensitive_map -> national_case_insensitive_map.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10861 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-071-1/+1
* Move stuff to use ASCII map where required.•••Also move this out of being a member totally, as it breaks (gah) and is already untidy.. to be revisited. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10858 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-071-1/+8
* national_case_sensitive_map must be static, thanks to the match stuff being s...•••Default to national charset map instead of rfc map, as modules may change the pointer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10857 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-071-1/+1
* Add InspIRCd::national_case_sensitive_map pointer, defaults to rfc_case_insen...•••Modules may override this pointer to customise casemapping of nick/channel names. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10856 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-071-0/+1
* Thread safety fixes to avoid crashes on rehash, dont reopen logs within the r...•••muppetry. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10811 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-11-221-8/+23
* This was never supposed to be invoked on /rehash, only startup.. so move it t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10792 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-11-021-0/+3
* Second attempt at time() -> SI->Time(), now problems with the original were f...•••Thanks Namegduf! (Please test, all, valdebug etc, report odd behaviour/warnings!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10783 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-11-011-0/+2
* dz added to /info, psychon (omitted?!) added to startup :)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10734 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-281-1/+1
* First set our group id, then the user id, because we need to be root to set the•••group (else it always fails with EPERM). Plus also call setgroups(0, NULL); to get rid of the supplementary groups. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10684 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2008-10-221-16/+27
* Implement <security:runasuser> and <security:runasgroup> - allows for set(g|u...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10682 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-201-0/+51
* Working privs implementation, and example usage in NOTICE for mass messaging.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10662 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-181-2/+0
* Migrate oper commands to an std::set, add a set for privs also. Change the AP...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10661 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-181-1/+1