summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2007-10-11Check is off by one, this wont break anything but will cut a character off ↵brain
the set ident git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8149 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-11Fix for bug #435 and fix return codes (these cannot be localonly for ↵brain
add/remove as its more efficient to propogate the SILENCE to the remote server so that messages can be blocked there and not routed) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8145 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-09Change 'unrecognised command BLAH' to 'unrecognised or malformed command ↵brain
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
2007-10-09sanity check for existing server in DoFailOver seems to have vanished!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8138 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-07dz is determined to crash your ircd :Pspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8132 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-07Fixed bug #434 (cycle allows bypassing modes for users outside of the ↵special
channel). Patch by dz git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8131 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-03PROPAGATE this fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8118 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-03Cut out redundant loop from nickname introductions, also ensure that each ↵brain
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
2007-10-02Someone please bp thisbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8107 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-30Users were also being attached to the wrong server names (by uid and not by ↵brain
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
2007-09-30Whoops, forgot some stuff for when GECOS was moved to position 10 in the UID ↵brain
command, this was broken git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8102 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-30Minor change, param for local PING wasnt an SID and should bebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8101 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-30parameters[0] -> parameter.c_str()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8099 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-29Removed extremely verbose debugging from the SSL modules, as I believe that ↵special
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
2007-09-27Forgot part of the fix for bug #404special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8086 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-25Fix compile errorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8080 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-25Fix for bug #415, affects only trunk (wish i'd known this before i started!)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8079 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-24Fix for bug #424brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8069 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-23Seems nobody tested this in windows at all, Module::Module(Inst) is not ↵brain
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
2007-09-23Fix dodgy constructorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8061 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-23More compile fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8057 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-20Thanks dz, forgot uppercase equivalent of AEIOU in the strchrbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8048 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-20As per request from Bricker, change the format of the 'you are now an oper ↵brain
of type <...>' to 'You are now a/an <...>' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8047 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-19Fixed m_saquit to direct the command to the user's server and from there ↵special
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
2007-09-13Fixed a compile error in m_ident on ipv6special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8037 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-13Made m_ident bind ident requests to the same IP the user is connected on, ↵special
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
2007-09-13Redesigned m_rpc_json to work properly in a modular environment, and added ↵special
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
2007-09-13Made m_blockcaps' <blockcaps:minlen> parameter default to 1, not 0, since ↵special
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
2007-09-12Modified m_cloaking to not use need_positive (instead, cast to an unsigned ↵special
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
2007-09-11Fixed the order of signon/signoff messages in m_watch (bug #410)special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8023 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-08Forward port r8021: fixes bug #408 reported and patched by Switchw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8022 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-04* Fixed connection messages in ModuleSpanningTree::HandleConnect (reported ↵burlex
by HiroP) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8017 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-04* Fixed some incorrect declarations in IOCPEngineburlex
* 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
2007-09-02Fixed an issue that could cause empty parameters in module commands to not ↵special
be sent to other servers properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8012 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-02Completely rewrote m_ident; the old one was written long ago and had a ↵special
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
2007-08-31Fixed a double free in m_ident. Found by AnMasterspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8005 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-31Fixed a bug introduced in r7827 (does not affect 1.1.12) that would cause an ↵special
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
2007-08-29I lose for being slow. also tidyup a bit, still needs to fix that sizeof..peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8001 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-29Add duplicate UID error in ParseUID(), seems pippijn was triggering it and ↵brain
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
2007-08-29Make IsSID completely strict: Must be [digit][A-Zdigit][A-Zdigit], nothing else.brain
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
2007-08-29This needs to be sent in burst toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7992 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-29Some modules forgotten for conversion to ModuleManagerbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7991 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-29Fix to compile with new module apipeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7990 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-29We really should SEND it too, if we're looking for it... :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7989 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-29IMPORTANT: UID command now takes TEN parameters in 1.2. We never had a ↵brain
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
2007-08-29Swap around ERROR and SNONOTICE in SendError() so that the server doesnt try ↵brain
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
2007-08-28Move everything module-related out of InspIRCd and into ModuleManager, there ↵om
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
2007-08-28Tidy up here, same tidyup cannot go back to stable as it involves uidsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7984 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Add SVSPART at request of the Anope team - You can tell if the server has ↵brain
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
2007-08-28If we see a NICK message without a timestamp on it, squit the serverbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7980 e03df62e-2008-0410-955e-edbf42e46eb7