summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-08-29Add a pointless WriteOpersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7998 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-29Add name.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7995 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-29A few more minor cleanupsom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7986 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
2007-08-28Remove unneeded debug from previous testsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7979 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28If the user's nick is just a case change, the TS is NOT updated (thanks jilles)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7978 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Note: NICK now takes two params, a nickname and a timestamp of the change.brain
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
2007-08-28When a server sends a SERVER command with <5 params, dont just close the ↵brain
connection without error. Give the error "Protocol violation -- Missing SID" git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7974 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28DELETE() -> deletew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7973 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28(Om, this commit is safe): remove references to DELETE() macro, revert back ↵w00t
to delete. Nobody used this most of the time, it had no real purpose, etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7972 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28First step on the road of module loader rewriting. So far this only really ↵om
removes module factories. Any modules not updated to use MODULE_INIT() yet will now fail to compile \o/ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7971 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Use MODULE_INIT here toow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7970 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28No idea why this wasn't using MODULE_INIT. Thanks Om.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7969 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Damn strict typing to hellw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7968 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Last raft of compile fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7967 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Oops. We were missing a param on this SVSNICK for remote TS.. that probably ↵w00t
was blasting client TS on nick collision, which isn't good git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7966 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Fixes 2brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7965 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Fixes 1brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7964 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Convert yet more to ServerConfig::GetSID() - this is the last of the obvious ↵brain
stuff. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7963 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Make the notes on not using the two services modules at the same time bigger :Pw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7962 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28First round of servername->sid stuffsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7961 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Use it here, toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7960 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Tidy up duplicate code, provide GetSID() method on ServerConfig which ↵brain
returns the SID always 3 digits long git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7959 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Rice it up, biatchw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7958 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Change issid to IsSID to appease our anal retentiveness^H^H^H^H^H^H... i ↵brain
mean err, match the coding standards git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7957 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Add SpanningTreeUtils::issid(). See top of utils.cppbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7956 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Drop nick from incoming client on change collision if incoming client ↵w00t
'loses' the change, and document why we do this git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7955 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Oops: This 'remote' needs to be local, otherwise our return value can be ↵w00t
incorrect in some cases. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7954 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28From RFC 2812, the funny = that i could never identify in NAMES reply: = ↵brain
means public, @ means secret and * means private. Fixed in affected modules to display the proper character (will backport) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7952 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28bool SamePerson = strcmp(localident, remoteident) && !strcmp(localip, remoteip);brain
change to: bool SamePerson = !strcmp(localident, remoteident) && !strcmp(localip, remoteip); git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7951 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Long-standing bug: userrec::age should be set on remote introduction. This ↵w00t
does not affect 1.1. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7950 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Hmm. We shouldn't use FindNick here, as that will find on UID, which while ↵w00t
it should not be a problem, might be. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7949 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Slight change to traffic logging, as I never remember which way the damn ↵w00t
arrows go: I now means in, O now means out. C and S remain unchanged git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7948 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Oops: initialise fake client after UID setup, so it gets a UID. This may be ↵w00t
unnecessary, but I'd rather not explode things anyway. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7947 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Remove more unused headersw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7946 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Remove unneeded headers from spanningtree. This was done to the rest of the ↵w00t
source base the other day. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7945 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Document the need for the fake clientw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7944 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Remove the last uses of localised fake clients. This removes a lot of ↵w00t
allocations (and uses of UIDs), and cleans things up a bit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7943 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Remove an utterly insane comment .. based on changed by based on originally ↵w00t
by changed on the based of .. wtf git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7942 e03df62e-2008-0410-955e-edbf42e46eb7