summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
AgeCommit message (Collapse)Author
2006-08-31Fix for bug #134 reported by mixx941: When user connects to ircd with no ↵brain
usermodes set on themselves, an m_spanningtree std::string throws a range exception because we try and substr npos. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5091 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-31Forwardport fix from stable (bug#133 reported by insurgent): configuring a ↵brain
link block with the same name as the local server (?!) then linking to it causes segfault git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5090 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-30Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include listsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29Snomask +l (linking) and some +x (XLINE)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5067 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29+Q and +C (remote quit and connect) snomasks implementedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5066 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29Spanningtree tidyupsbrain
Start of SnomaskManager class git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5061 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-28Hey, what the hell. Let's do remote ADMIN too. :)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5059 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-28^*&^^)()%-w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5058 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-28Remote MOTD supportw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5057 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-28Check for muppet 3rdparty apps that might not order the list correctlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5048 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-28Error scemantics - 'this' server, 'your' serverbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5047 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-28Module list diffingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5046 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-28Capab matching on important keys, and module listsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5045 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-28Fix ping timeouts to properly close and free the socket, same with /SQUITbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5044 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-28gcc whinges.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5043 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-28Add DelFd calls when squitting a server or pinging it outbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5042 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-28Note: connect() cant time out for inspsockets in this commit. They'll sit in ↵brain
memory forever -- if you want something actually working properly wait for the next commit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5040 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-28Add support for NAMESXbrain
Tidy up m_alias blank lines Add m_namesx.so to example conf (no extra config tags required for it, it "just works") git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5039 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-27Bail out if we get a non-existent userbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5033 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-27Fixes for w00t, now its boo time :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5032 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-27Fix mode granting in FJOINbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5031 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-27I only fix stuff at 3:30am if im asked nicely and now im too tired to think ↵brain
any more :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5030 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-27Extra sanity checksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5029 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-27Sometimes we were just doing Route->GetSock(), without first checking Route ↵brain
was non-null. Instead, do "if (Route && Route->GetSock())" in a few places. This should make stuff water-tight git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5027 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-27Overloaded char* equivalents of some core functions, will help us track down ↵brain
how the CRAP a stack-allocated std::string can be null? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5026 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-24Check for missing comma in FJOIN elementbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5008 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23Forgot the comma in first joinbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5005 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23If we get an unknown prefix character on a user when they join, we throw a ↵brain
fit and close the connection git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5004 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23Multi-prefix FJOIN, and allowing module-defined prefixes across the networkbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5002 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23More prefixchar stuff.brain
WARNING: 005 numeric is broken in this commit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5000 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-21In 1.1, place all FJOIN parameters in the last parameter of the FJOIN - if ↵brain
there is more than one user joining, prefix with a colon. This way we're not limited to ~12 users per FJOIN command. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4988 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18EventHandler class, an abstraction for raw i/obrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4941 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Just to mess with om's head, remove helperfuncs.h from everywherebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.brain
NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Move remaining functions:brain
operstrcmp* commands.cpp InspIRCd::operstrcmp() duration* commands.cpp InspIRCd::duration() host_matches_everyone* commands.cpp InspIRCd::host_matches_everyone() ip_matches_everyone* commands.cpp InspIRCd::ip_matches_everyone() nick_matches_everyone* commands.cpp InspIRCd::nick_matches_everyone() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4888 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11peline/pxline etc stuff removedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4884 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Change to using Instance->Log (InspIRCd::Log) rather than log() macrobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Now two types of log macro, log() and ilog(). log() assumes an InspIRCd ↵brain
object called ServerInstance, ilog() takes an InspIRCd object as first param. TODO: Run a regexp over these, using perl, to translate them into InspIRCd::Log calls and then eliminate the macro :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4879 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11ConfigReader and FileReader now take InspIRCd* to their constructorsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4865 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11And fix a bugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4864 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11None of the modules use an extern InspIRCd* any morebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4863 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11(Bigger than it looks, i did this with perl inplace edit) -- commands now ↵brain
take an InspIRCd* param to their constructor, so that you can do stuff within them without an extern git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4862 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Last of Server:: methods moved to InspIRCd::. Server:: removed.brain
This will need a real good tidyup later, because now everything is in the right place, but its a mess because for now i threw them into place (e.g. space indenting, etc) Next on the todo: Make command handlers have a ServerInstance (gank!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4861 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.brain
Changed Parameter for modules from Server* to InspIRCd*. TODO: Move remaining Server* Modules into InspIRCd* and remove class Server. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4859 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Mass-tidyup of module global vars, theyre no longer global vars.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4856 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Move IsNick, IsIdent into class InspIRCd, update modules that use it.brain
Change message.h to just a #warning saying its deprecated, and remove all use of it from the core :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4847 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Fixes and removal of Server::GetServerName()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4844 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Server::GetAdmin, Server::GetServerDescription, Server::GetNetworkName --- ↵brain
*REMOVED* git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4843 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10cmode(), cflags(), cstatus() -> chanrec::GetStatusChar(), ↵brain
chanrec::GetStatusFlags(), chanrec::GetStatus() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4837 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Server::GetConfig, Server::GetVersion -> removedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4833 e03df62e-2008-0410-955e-edbf42e46eb7