summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Properly name the windows service error constants and put proper ↵Gravatar brain2008-08-241-6/+3
| | | | | | descriptions in the error strings git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10251 e03df62e-2008-0410-955e-edbf42e46eb7
* No names for the service specific errors, probably wont ever name them as ↵Gravatar brain2008-08-241-0/+7
| | | | | | theyre never shown in linux git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10245 e03df62e-2008-0410-955e-edbf42e46eb7
* work in progressGravatar brain2008-08-241-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10238 e03df62e-2008-0410-955e-edbf42e46eb7
* comments to explain wtf 'ENTRYPOINT' is where main() should be. In the ↵Gravatar brain2008-08-211-9/+15
| | | | | | future maybe we should have two main.cpp's one for windows and one for posix, in a similar way we do socket engines etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10200 e03df62e-2008-0410-955e-edbf42e46eb7
* add support for windows service. This now is part of inspircd itself being ↵Gravatar brain2008-08-211-1/+1
| | | | | | as we have native build. It doesnt quite work yet in all the ways it should. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10193 e03df62e-2008-0410-955e-edbf42e46eb7
* Drift now has to be >= 3 secs in either direction to trigger a warning, this ↵Gravatar brain2008-08-121-2/+3
| | | | | | is designed for warning of big drifts, we dont want it whining about ntpdate etc git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10144 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix compile. Also remove write error stuff, as that was used prior to the ↵Gravatar w00t2008-07-191-1/+1
| | | | | | goodness of global culllist. This makes getting user's quit messages to them (on excess recvq etc) much easier. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10042 e03df62e-2008-0410-955e-edbf42e46eb7
* Combine IP+port in a failed port list, show (the more helpful) error string ↵Gravatar w00t2008-07-171-1/+1
| | | | | | so the user can have some idea of what actually went wrong.. why we forced people to strace is beyond me.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10030 e03df62e-2008-0410-955e-edbf42e46eb7
* And, just because I can. The one pointless one-liner of the evening. :pGravatar w00t2008-07-121-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10000 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a snotice about time jumping by more than a second at a time, and move ↵Gravatar w00t2008-07-121-1/+5
| | | | | | both this and time skew notice into debug snomask git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9999 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove some long commented out code: we never used to start unless a client ↵Gravatar w00t2008-07-121-7/+0
| | | | | | port was bound git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9998 e03df62e-2008-0410-955e-edbf42e46eb7
* Rename "lan or wan ip" -> public ipGravatar brain2008-05-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9788 e03df62e-2008-0410-955e-edbf42e46eb7
* update to tell them to try a LAN or a WAN IP, depending on how the box is ↵Gravatar bricker2008-05-211-1/+1
| | | | | | setup, it matters. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9786 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for windows drive letters on the start of paths and treat them the ↵Gravatar brain2008-05-131-1/+2
| | | | | | same as paths that start with /, this makes insp more friendly for windows filesystems git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9724 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert CIDR matching and wildcard matching to operate on std::stringsGravatar brain2008-05-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9681 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix restart code, by getting run path and argv before calling Cleanup()Gravatar peavey2008-05-091-3/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9674 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge in large patchset from GreenReaper, useful fixes for freeing a ton of ↵Gravatar brain2008-04-211-5/+120
| | | | | | different things on shutdown for tidyness, and a few stack corruption fixes in the mode handler git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9565 e03df62e-2008-0410-955e-edbf42e46eb7
* Apply patches to remove 200-odd dll limit on windows, made by GreenReaper, ↵Gravatar brain2008-04-181-3/+10
| | | | | | lots of thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9533 e03df62e-2008-0410-955e-edbf42e46eb7
* Add newlines to the end :) (\n)Gravatar brain2008-04-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9488 e03df62e-2008-0410-955e-edbf42e46eb7
* add a hint to users for using an IP instead of *Gravatar bricker2008-04-131-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9487 e03df62e-2008-0410-955e-edbf42e46eb7
* Port a bunch of methods of InspIRCd to functors. IsChannel, IsSID, Rehash.Gravatar brain2008-04-131-2/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9474 e03df62e-2008-0410-955e-edbf42e46eb7
* Add basic stuff for protocol interface and implement a couple of the ↵Gravatar brain2008-04-041-1/+3
| | | | | | 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
* Move this message so it actually displays when we're running non-debug: ↵Gravatar brain2008-04-021-1/+3
| | | | | | "InspIRCd is now running as 'test.chatspike.net'[037] with 5576 max open sockets" git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9274 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix yet another warning.Gravatar brain2008-04-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9271 e03df62e-2008-0410-955e-edbf42e46eb7
* Automatic detection and allocation of max fds. No longer needs recompile to ↵Gravatar brain2008-04-021-2/+2
| | | | | | | | | 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
* Better generation. This is still fucked up, but less spectacularly and in a ↵Gravatar w00t2008-04-021-25/+0
| | | | | | much less obvious way. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9260 e03df62e-2008-0410-955e-edbf42e46eb7
* Fuck. STOP committing first thing after waking up.Gravatar w00t2008-04-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9259 e03df62e-2008-0410-955e-edbf42e46eb7
* As part of this... don't give fake client a valid UID, as it's not needed ↵Gravatar w00t2008-04-021-1/+1
| | | | | | anyway. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9258 e03df62e-2008-0410-955e-edbf42e46eb7
* UnneededGravatar w00t2008-04-021-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9255 e03df62e-2008-0410-955e-edbf42e46eb7
* Only setup fakeclient once.Gravatar w00t2008-04-011-8/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9253 e03df62e-2008-0410-955e-edbf42e46eb7
* Commit -Wformat=2 -Wmissing-format-attributes, printf-like functions in ↵Gravatar aquanight2008-03-301-1/+1
| | | | | | 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
* Test commit. .coders now has CIA (instant notification) and the other ↵Gravatar brain2008-03-291-0/+1
| | | | | | 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
* Ricer up AllModulesReportReady further. If one fails, all fail, so returning ↵Gravatar peavey2008-03-191-4/+3
| | | | | | false on first fail will save subsequent reduntant calls. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9138 e03df62e-2008-0410-955e-edbf42e46eb7
* Final tweak to AllModulesReportReady, should be there now.Gravatar peavey2008-03-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9134 e03df62e-2008-0410-955e-edbf42e46eb7
* Damnit, its right now. im going to bedGravatar brain2008-03-191-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9131 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, and dont get the comparison backwards. dont look at me like that, ↵Gravatar brain2008-03-191-1/+1
| | | | | | its almost 3am :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9130 e03df62e-2008-0410-955e-edbf42e46eb7
* Silly silly, AllModulesReportReady returns true when ONE module reports ↵Gravatar brain2008-03-191-5/+4
| | | | | | ready. Fixed here :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9128 e03df62e-2008-0410-955e-edbf42e46eb7
* Add fixes to stop people changing the SID of a live server - certain ↵Gravatar brain2008-03-141-4/+1
| | | | | | configuration values are silently ignored on rehash, namely the server name and server id. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9073 e03df62e-2008-0410-955e-edbf42e46eb7
* Add <options:exemptchanops> support to m_censor and m_blockcaps, and tidy up ↵Gravatar aquanight2008-03-091-1/+1
| | | | | | the checks in {block,strip}color, and remove an uneeded abs() on the "flowing backwards" warning. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9071 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a silly whoopsieGravatar brain2008-02-261-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9040 e03df62e-2008-0410-955e-edbf42e46eb7
* Add some important commentsGravatar brain2008-02-241-0/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9029 e03df62e-2008-0410-955e-edbf42e46eb7
* More stuffGravatar brain2008-02-241-0/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9026 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow for 'bail' and 'user' parameters to rehash threadGravatar brain2008-02-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9022 e03df62e-2008-0410-955e-edbf42e46eb7
* Rollback complete! Everyone please go through the code and check i havent ↵Gravatar brain2008-02-241-3/+5
| | | | | | forgotten to incorporate your tweaks and changes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9019 e03df62e-2008-0410-955e-edbf42e46eb7
* First part of my evil empire! BWAHAHAHAHAHAHAH...HAHAHAHA...AHAHAH *cough* ↵Gravatar brain2008-02-241-8/+11
| | | | | | err i mean... remote includes (BWAHAHAHA) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9013 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert remaining InspIRCd::Log() calls to new logging systemGravatar aquanight2008-02-221-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 e03df62e-2008-0410-955e-edbf42e46eb7
* 9000 ;pGravatar w00t2008-02-221-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9000 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a note about interfaces that may be usefulGravatar w00t2008-02-221-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8999 e03df62e-2008-0410-955e-edbf42e46eb7
* Nuke TIMESYNC from orbit \o/Gravatar w00t2008-02-221-17/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8998 e03df62e-2008-0410-955e-edbf42e46eb7
* Testsuite stuff and fixesGravatar brain2008-02-211-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8977 e03df62e-2008-0410-955e-edbf42e46eb7