aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Whoops, thanks w00tGravatar brain2008-04-041-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9319 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, wrong pointer. write out 500 lines 'i will check my code twice', brain.Gravatar brain2008-04-041-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9318 e03df62e-2008-0410-955e-edbf42e46eb7
* Make it buildableGravatar brain2008-04-041-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9317 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, this would be bad if not fixed :pGravatar brain2008-04-041-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9316 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix chanlog (NOTE: previous commit will require a FULL recompile)Gravatar w00t2008-04-041-6/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9315 e03df62e-2008-0410-955e-edbf42e46eb7
* Remote server PRIVMSG/NOTICE to nickname supportGravatar brain2008-04-042-0/+28
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9314 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove two useless methods, chanlog is b0rked at the moment.Gravatar w00t2008-04-042-5/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9313 e03df62e-2008-0410-955e-edbf42e46eb7
* Support for remote NOTICE/PRIVMSG with server origin and user targetGravatar brain2008-04-041-3/+26
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9312 e03df62e-2008-0410-955e-edbf42e46eb7
* Add safety check for nonexistent server in receiving server origin privmsg ↵Gravatar brain2008-04-042-1/+9
| | | | | | (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
* Modify chanlog to send message remotely, too. Logging now works server <-> ↵Gravatar w00t2008-04-041-3/+12
| | | | | | 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
* Extra safety required by recent changesGravatar brain2008-04-041-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9309 e03df62e-2008-0410-955e-edbf42e46eb7
* Add protocol api functions: PI->WriteChannelPrivmsg() and ↵Gravatar brain2008-04-042-0/+32
| | | | | | PI->WriteChannelNotice() - sends with SID origin over network git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9308 e03df62e-2008-0410-955e-edbf42e46eb7
* Server origin PRIVMSG and NOTICE now supported by protocol. Will add ↵Gravatar brain2008-04-042-1/+10
| | | | | | 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
* Server origin privmsg, UNTESTED - will test in a minGravatar brain2008-04-045-1/+75
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9306 e03df62e-2008-0410-955e-edbf42e46eb7
* Change the function name because gcc is dumb :/Gravatar brain2008-04-042-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9305 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, fix typoGravatar brain2008-04-041-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9304 e03df62e-2008-0410-955e-edbf42e46eb7
* A convenience function for ProtocolInterface::SendMode that just takes a ↵Gravatar brain2008-04-042-10/+2
| | | | | | 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
* Now rip out the old handler, and replace with an error log lineGravatar brain2008-04-041-99/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9302 e03df62e-2008-0410-955e-edbf42e46eb7
* Make all our modules use the new stuff rather than the send_ eventsGravatar brain2008-04-0412-86/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9301 e03df62e-2008-0410-955e-edbf42e46eb7
* Match on nick change option for RLine, document m_rline & this option.Gravatar w00t2008-04-041-3/+32
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9300 e03df62e-2008-0410-955e-edbf42e46eb7
* The rest of the server protocol interface and fix a warning in m_rlineGravatar brain2008-04-043-5/+46
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9299 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for match and apply R:Lines on connectGravatar w00t2008-04-041-0/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9298 e03df62e-2008-0410-955e-edbf42e46eb7
* Add basic stuff for protocol interface and implement a couple of the ↵Gravatar brain2008-04-044-2/+101
| | | | | | 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
* Whoops, allow numeric 353 (names list) to be overridden by OnNumeric if we ↵Gravatar brain2008-04-031-3/+3
| | | | | | want to git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9295 e03df62e-2008-0410-955e-edbf42e46eb7
* Change the 'is not within the modules dir' message to something less obscure ↵Gravatar brain2008-04-031-1/+1
| | | | | | that explains the problem: "Module <file> is not in the module directory that i am configured to look in (is <path> really a symlink?)" git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9290 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch to fix this module from flagging all client sockets as xmlGravatar brain2008-04-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9288 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix socketengine select to work with arsey compilers that think we're using ↵Gravatar brain2008-04-031-1/+2
| | | | | | ISO C++ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9287 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a (long standing) tiny bug: wallops do not go out to all +w users, only ↵Gravatar w00t2008-04-031-1/+4
| | | | | | opered users. This needs applying to 1.1 too, will be done shortly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9285 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for bug #493, tidyups to clearing of channel modes on losing FJOIN. ↵Gravatar brain2008-04-028-40/+110
| | | | | | 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
* Fix brain's compile error :pGravatar w00t2008-04-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9282 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #456 so we can be rid of itGravatar brain2008-04-021-2/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9281 e03df62e-2008-0410-955e-edbf42e46eb7
* This is better than using a const; Since 1.1 we don't need a value at all, ↵Gravatar brain2008-04-021-20/+16
| | | | | | 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
* Remove unload_kludge: this still isn't handled in a very polite way (it uses ↵Gravatar w00t2008-04-021-11/+13
| | | | | | 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
* Just use string literal instead of declaring a var for itGravatar w00t2008-04-021-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9277 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix peavey and w00ts bug they found by removing the nonblocking part of the ↵Gravatar brain2008-04-022-60/+10
| | | | | | logger. This stuff was hackish and isnt required. If your hard disk locks up, then you have bigger worries. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9276 e03df62e-2008-0410-955e-edbf42e46eb7
* Depreciated ServerInstance->Log() seems to crash configreader on rehash? We ↵Gravatar brain2008-04-021-3/+3
| | | | | | should remove the depreciated calls anyway, so im not too concerned as to why they crash - probably not threadsafe. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9275 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
* DOH! Fix my muppetry of a segfault, and fix some warningsGravatar brain2008-04-026-13/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9273 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
* Fix another warningGravatar brain2008-04-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9270 e03df62e-2008-0410-955e-edbf42e46eb7
* make sure we include the right headers and fix a warning in cmode_bGravatar brain2008-04-022-4/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9269 e03df62e-2008-0410-955e-edbf42e46eb7
* Proper sysctl stuff to work with bsd. It seems that the uname value 4 is ↵Gravatar brain2008-04-021-13/+11
| | | | | | linux specific and they dont even have a const for it there! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9268 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix stats, this has never actually displayed the per-class max in stats I, ↵Gravatar brain2008-04-021-1/+1
| | | | | | now it does git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9267 e03df62e-2008-0410-955e-edbf42e46eb7
* Squish a warningGravatar brain2008-04-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9266 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove MAXCLIENTS, this is supported at runtime by the softlimit anyway.Gravatar brain2008-04-022-8/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9265 e03df62e-2008-0410-955e-edbf42e46eb7
* Automatic detection and allocation of max fds. No longer needs recompile to ↵Gravatar brain2008-04-0212-44/+142
| | | | | | | | | 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
* Fix all this crap - it actually works now (we pray..)Gravatar w00t2008-04-021-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9261 e03df62e-2008-0410-955e-edbf42e46eb7
* Better generation. This is still fucked up, but less spectacularly and in a ↵Gravatar w00t2008-04-022-130/+69
| | | | | | 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