aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Change 'unrecognised command BLAH' to 'unrecognised or malformed command ↵Gravatar brain2007-10-091-1/+1
| | | | | | BLAH' just to make it obvious to lazy people. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8140 e03df62e-2008-0410-955e-edbf42e46eb7
* sanity check for existing server in DoFailOver seems to have vanished!Gravatar brain2007-10-091-2/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8138 e03df62e-2008-0410-955e-edbf42e46eb7
* dz is determined to crash your ircd :PGravatar special2007-10-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8132 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed bug #434 (cycle allows bypassing modes for users outside of the ↵Gravatar special2007-10-071-2/+8
| | | | | | channel). Patch by dz git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8131 e03df62e-2008-0410-955e-edbf42e46eb7
* PROPAGATE this fixGravatar brain2007-10-036-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8118 e03df62e-2008-0410-955e-edbf42e46eb7
* Cut out redundant loop from nickname introductions, also ensure that each ↵Gravatar brain2007-10-031-10/+7
| | | | | | UID message is immediately followed by any metadata related to that nickname git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8116 e03df62e-2008-0410-955e-edbf42e46eb7
* Someone please bp thisGravatar brain2007-10-021-1/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8107 e03df62e-2008-0410-955e-edbf42e46eb7
* Users were also being attached to the wrong server names (by uid and not by ↵Gravatar brain2007-09-301-1/+1
| | | | | | server name) meaning that users werent being quit on squit. this was hampering my efforts to find an unrelated bug git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8103 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, forgot some stuff for when GECOS was moved to position 10 in the UID ↵Gravatar brain2007-09-301-2/+2
| | | | | | command, this was broken git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8102 e03df62e-2008-0410-955e-edbf42e46eb7
* Minor change, param for local PING wasnt an SID and should beGravatar brain2007-09-301-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8101 e03df62e-2008-0410-955e-edbf42e46eb7
* parameters[0] -> parameter.c_str()Gravatar brain2007-09-301-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8099 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed extremely verbose debugging from the SSL modules, as I believe that ↵Gravatar special2007-09-292-11/+0
| | | | | | bug has been fixed (and we don't want this in for release anyway) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8092 e03df62e-2008-0410-955e-edbf42e46eb7
* Forgot part of the fix for bug #404Gravatar special2007-09-271-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8086 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix compile errorGravatar brain2007-09-251-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8080 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #415, affects only trunk (wish i'd known this before i started!)Gravatar brain2007-09-253-4/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8079 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #424Gravatar brain2007-09-241-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8069 e03df62e-2008-0410-955e-edbf42e46eb7
* Seems nobody tested this in windows at all, Module::Module(Inst) is not ↵Gravatar brain2007-09-231-2/+1
| | | | | | valid in msvc 8, Module(Inst) must be used in the constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8063 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix dodgy constructorGravatar brain2007-09-231-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8061 e03df62e-2008-0410-955e-edbf42e46eb7
* More compile fixesGravatar brain2007-09-232-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8057 e03df62e-2008-0410-955e-edbf42e46eb7
* Thanks dz, forgot uppercase equivalent of AEIOU in the strchrGravatar brain2007-09-201-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8048 e03df62e-2008-0410-955e-edbf42e46eb7
* As per request from Bricker, change the format of the 'you are now an oper ↵Gravatar brain2007-09-201-1/+1
| | | | | | of type <...>' to 'You are now a/an <...>' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8047 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed m_saquit to direct the command to the user's server and from there ↵Gravatar special2007-09-191-2/+6
| | | | | | send a QUIT to all servers, to prevent desyncs in services and such that don't support saquit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8046 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed a compile error in m_ident on ipv6Gravatar special2007-09-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8037 e03df62e-2008-0410-955e-edbf42e46eb7
* Made m_ident bind ident requests to the same IP the user is connected on, ↵Gravatar special2007-09-131-3/+22
| | | | | | which is much more sane and should fix IPv6. Bug #406 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8035 e03df62e-2008-0410-955e-edbf42e46eb7
* Redesigned m_rpc_json to work properly in a modular environment, and added ↵Gravatar special2007-09-134-2594/+688
| | | | | | the beginnings of a framework-inspecific RPC interface for modules. Be warned, this WILL change some - this can be considered an alpha :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8033 e03df62e-2008-0410-955e-edbf42e46eb7
* Made m_blockcaps' <blockcaps:minlen> parameter default to 1, not 0, since ↵Gravatar special2007-09-131-5/+5
| | | | | | trying to block an empty line makes no sense git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8029 e03df62e-2008-0410-955e-edbf42e46eb7
* Modified m_cloaking to not use need_positive (instead, cast to an unsigned ↵Gravatar special2007-09-121-5/+10
| | | | | | int). This allows it to use all possible values for an unsigned int, instead of just the positive values in a signed int git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8026 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed the order of signon/signoff messages in m_watch (bug #410)Gravatar special2007-09-111-9/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8023 e03df62e-2008-0410-955e-edbf42e46eb7
* Forward port r8021: fixes bug #408 reported and patched by SwitchGravatar w00t2007-09-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8022 e03df62e-2008-0410-955e-edbf42e46eb7
* * Fixed connection messages in ModuleSpanningTree::HandleConnect (reported ↵Gravatar burlex2007-09-041-3/+3
| | | | | | by HiroP) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8017 e03df62e-2008-0410-955e-edbf42e46eb7
* * Fixed some incorrect declarations in IOCPEngineGravatar burlex2007-09-043-2/+47
| | | | | | | | | | * Fixed the virtual socket wrapper functions in IOCPEngine {these should really be inlined on unix} * Fixed several compilation issues under Win32 * Fixed calls to close() which should've been changed to SE->Close() + Added a crashdump saving system to Win32 builds. Dumps are saved in the format of dump-<exename>-<year>-<month>-<day>-<hour>-<minute>-<second>.dmp in the working directory. Enabled by default, undefine ENABLE_CRASHDUMPS to disable. + Added m_operflood, this is a module I've had lying around for some time but some users may like it as it allows unreal-like behaviour without increasing flood limits for non-opers. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8015 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed an issue that could cause empty parameters in module commands to not ↵Gravatar special2007-09-022-4/+7
| | | | | | be sent to other servers properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8012 e03df62e-2008-0410-955e-edbf42e46eb7
* Completely rewrote m_ident; the old one was written long ago and had a ↵Gravatar special2007-09-021-256/+151
| | | | | | history of being very buggy (and still had quite a few bugs) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8009 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed a double free in m_ident. Found by AnMasterGravatar special2007-08-311-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8005 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed a bug introduced in r7827 (does not affect 1.1.12) that would cause an ↵Gravatar special2007-08-311-0/+11
| | | | | | infinite loop for some spanningtree link errors. Found by danieldg git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8003 e03df62e-2008-0410-955e-edbf42e46eb7
* I lose for being slow. also tidyup a bit, still needs to fix that sizeof..Gravatar peavey2007-08-291-16/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8001 e03df62e-2008-0410-955e-edbf42e46eb7
* Add duplicate UID error in ParseUID(), seems pippijn was triggering it and ↵Gravatar brain2007-08-291-3/+2
| | | | | | it was falling through the empty catch into _new = NULL :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7994 e03df62e-2008-0410-955e-edbf42e46eb7
* Make IsSID completely strict: Must be [digit][A-Zdigit][A-Zdigit], nothing else.Gravatar brain2007-08-292-2/+21
| | | | | | | Use it to sanity check SID given on link git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7993 e03df62e-2008-0410-955e-edbf42e46eb7
* This needs to be sent in burst tooGravatar brain2007-08-291-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7992 e03df62e-2008-0410-955e-edbf42e46eb7
* Some modules forgotten for conversion to ModuleManagerGravatar brain2007-08-292-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7991 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to compile with new module apiGravatar peavey2007-08-291-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7990 e03df62e-2008-0410-955e-edbf42e46eb7
* We really should SEND it too, if we're looking for it... :pGravatar brain2007-08-291-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7989 e03df62e-2008-0410-955e-edbf42e46eb7
* IMPORTANT: UID command now takes TEN parameters in 1.2. We never had a ↵Gravatar brain2007-08-291-4/+6
| | | | | | | | | signon time seperate from the TS in the UID command (or 1.1's NICK command) because in 1.1 this timestamp never updated and was therefore useful for both values. This is no longer the case and we must pass both seperately git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7988 e03df62e-2008-0410-955e-edbf42e46eb7
* Swap around ERROR and SNONOTICE in SendError() so that the server doesnt try ↵Gravatar brain2007-08-291-1/+1
| | | | | | and send SNONOTICE to a connection that just closed on it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7987 e03df62e-2008-0410-955e-edbf42e46eb7
* Move everything module-related out of InspIRCd and into ModuleManager, there ↵Gravatar om2007-08-2829-99/+85
| | | | | | | | is a ModuleManager instantiated as InspIRCd::Modules. Several of the function names have changed slightly as well. e.g. Instance->FindModule(m_foobar.so); is now Instance->Modules->Find(m_foobar.so); All modules in the core distribution should also be updated in line with these changes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7985 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidy up here, same tidyup cannot go back to stable as it involves uidsGravatar brain2007-08-281-15/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7984 e03df62e-2008-0410-955e-edbf42e46eb7
* Add SVSPART at request of the Anope team - You can tell if the server has ↵Gravatar brain2007-08-283-1/+34
| | | | | | | | | SVSPART by the presence of SVSPART=1 in the CAPAB. No, we will NOT be enforcing this network-wide, its a server-origin command so it wont cause disconnects if it doesnt exist somewhere. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7982 e03df62e-2008-0410-955e-edbf42e46eb7
* If we see a NICK message without a timestamp on it, squit the serverGravatar brain2007-08-281-1/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7980 e03df62e-2008-0410-955e-edbf42e46eb7
* If the user's nick is just a case change, the TS is NOT updated (thanks jilles)Gravatar brain2007-08-281-1/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7978 e03df62e-2008-0410-955e-edbf42e46eb7
* Note: NICK now takes two params, a nickname and a timestamp of the change.Gravatar brain2007-08-282-1/+6
| | | | | | | When a nick change occurs this must update the users timestamp, so that the users nick is marked to a newer TS. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7977 e03df62e-2008-0410-955e-edbf42e46eb7