summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-08-05Better Way(TM) of doing easy routing of commands with a user based source. ↵w00t
This saves me having to put fixes into SVSJOIN, etc, to stop fake direction. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10101 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-05Forward-port r10098 and r10099, fixing anope+inspircd=ftopic ddos. Thanks to ↵w00t
Namegduf for all his help. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10100 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-05Copypastaw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10097 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-05Missed anotherw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10096 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-05Missed one.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10095 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-05Send ERR_BANNEDFROMCHAN on all extbans preventing joinw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10094 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-05Fix banredirect modifying extban masks, patch based on one provided by ↵w00t
jackmcbarn, except with length checking to avoid explosions on certain STL implementations git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10093 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-05Add m_serverban, implements extban +b s:server.mask.here, allows +e. This ↵w00t
essentially implements local-only channels, if you care about such things (+be s:* s:my.local.server). Document it as well. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10092 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-05Add m_channelban: implements extban +b j: - prevents user from joining a ↵w00t
channel if a channel they are already on matches a +b j: mask, allows +e. Not yet documented. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10090 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-05Use correct method for adding extban type in m_gecosban, add 005 ↵w00t
notification of C extban too git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10089 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-05Add extban +b C: - blocks matching masks from sending CTCP. Allows +e.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10088 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-05Fix this class namew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10087 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-04Initial commit of m_satopic, provides /satopic. Needs testing on a ↵om
multi-server network. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10086 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-04Add optional 3rd parameter to Channel::SetTopic() which overrides all access ↵om
checks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10085 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-04Add TOPIC overriding to m_override, requested by Namegduf.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10084 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-04Oops, actually, return 1 to block change, 0 to check it, -1 to allow it ↵w00t
regardless. Update docs in header also. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10083 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-04Add Channel::SetTopic(User *, std::string &) to set topic on a channel. Use ↵w00t
it in CommandTopic. Also modify OnLocalTopicChange to accept a new return value. (0 == proceed as normal, 1 == don't check anything, -1 == disallow change silently). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10082 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-04Fix override snotices for KICK not being sent for some cases, reported by ↵w00t
Namegduf. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10080 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-30Add extban +b O: for opertype banning.. mostly useful for +be to create a ↵w00t
channel with only one level of opertype permitted. Thanks partly to Kein. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10077 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-29Remove last vestige of libircdfoo, by changing tag into a single ↵w00t
identifier marking object as requiring compilation into a .o (minor commit) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10076 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-29Move umode_n to umode_s, second half of last commitw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10075 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-29After discussions and thought, move umode +n to +s. This increases ↵w00t
cross-ircd compat (both charybdis and unreal use +s for snomasks, others might in the future). This also decreases complexity for new users, and removes the redundancy. This means that just +s +cC for example will be required to view connects. (files to be renamed in next commit to not confuse svn). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10074 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-26The cows gathered around, 'case the STEAKS were so high.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10071 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-24Make m_operflood actually work, thanks to KrazyBox for this.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10070 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-23fix a little typo I found while checking some other stuffpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10068 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-22Fix bug #579, missing end of stats and snomask when module returns 1 from ↵brain
OnStats, thanks jackmcbarn git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10067 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-22Fix bug #575, taxonomy finally works properlyw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10065 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-21Remove duplicated member, kept in classes.. Possible now we have a pointer. ↵w00t
this saves (another) 4 bytes per user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10064 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-21Add extban +b S:, strips colours, same as chmode +Sw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10063 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-21Add extban +b Q: - prevents matching users from kickingw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10062 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-21Add extban +b T:, prevents /notice to channel, same as chmode +Tw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10061 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-21Add CHANOPS_EXEMPT support to m_noinvite, also add +b V: extbanw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10060 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-21Add extban +b c: - blocks colour from matching users, same as chmode +cw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10059 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-21Add extban +b B: - matching users may not use caps, same as chmode +B (or +P ↵w00t
in 1.1) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10058 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20changed my email addresspippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10057 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20Removed excess spaces before some lines in /info - thanks psychonspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10056 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20Alter prompt to indicate that multiple tests can be queued by entering ↵brain
multiple choices git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10055 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20Fix output corruption on startup if ports fail to bind, spotted by psychonbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10054 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20Remove custom members for +lk storagew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10053 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20304 -> RPL_SYNTAXbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10052 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20More numerics.h conversionw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10049 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20Fix potential off-by-one on large reads (thanks psychon)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10048 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20Fixes to some stuff that writes on memory it shouldn't (thanks psychon).w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10047 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19Fix total mess of makefile dependency macros (all depending on stuff they ↵brain
dont NEED to depend on) and fix includes in all of m_spanningtree (everything including just about everything, doesnt need to) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10046 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19Fix the 4-byte read madness discovered by psychonbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10045 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19Change modes in channels and users to use std::bitset instead of an array. ↵w00t
This saves 56 bytes per channel, and 112 bytes per channel, with no loss in speed or ease of use in code. :). Thanks (VERY) much to Special for telling me about this. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10043 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19Fix compile. Also remove write error stuff, as that was used prior to the ↵w00t
goodness of global culllist. This makes getting user's quit messages to them (on excess recvq etc) much easier. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10042 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19Use a switch (cleaner, probably more efficient) for user status here, also, ↵w00t
we can remove another member (::timeout) that is only actually used before registration by doing a bit of addition. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10041 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19Hook OnUserPreKick and disallow kick on +k users alsow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10039 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19Spaces to tabs, EXORCISE THE DEMON. Thanks psychon.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10038 e03df62e-2008-0410-955e-edbf42e46eb7