summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-05-07Needs a little testing: Tidyup of some code, namely when validating the ↵brain
length of params for NICK, tidied it into an array of sizes and indexes rather than a big long chain of if, then, else git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6905 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07Fix channel TS not being set correctly on creation of new channelbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6904 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07Developers, please review ForceJoin starting at line 730 of this file. It ↵brain
needs a thorough going over to see if anyone can spot any problems. Now uses modestacker rather than trying to do this itself with lots of char* craq. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6903 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07A bit more debug in herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6902 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07Add bugnotice when an fmode is sent with a TS < ours. This should in theory ↵brain
never happen unless theres some retardedness going on, the TS should always really be = ours or > ours, as FMODE comes after FJOIN, and FJOIN lowers the TS to be = ours if its greater. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6901 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07FTOPIC from another server now (correctly) shows local server name to ↵brain
obscure remote git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6900 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-06Fix for bug #278 reported by aredridel, LUSERS output is required as per RFC ↵brain
1459 on connect, m_conn_lusers is therefore redundant (so i removed it :p) The core automatically triggers an LUSERS on connect now, which modules can still intercept the way they always have. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6898 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-06Fix for bug #263 - note, this NEEDS QA TESTINGbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6897 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-06gcc fails it at exporting symbols properly :/brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6894 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-05So, Mozarella it is for 1.1.7brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6891 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-05Fix for crash found by potter if you set up two redirects in two channels to ↵brain
forward the user back and forth between the two in a loop. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6889 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-05Make debug warning for broken servers once per servername onlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6884 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04Add options:quietbursts, fixes bug #269, also adds support for quits in a ↵brain
cull list which do not generate a quit snotice git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6883 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04Fix for bug #274, same port appearing multiple times in stats p if bound ↵brain
multiple times on different ip addresses git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6882 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04Proper fix for clients that send a nickprefix on their commands (the rfc ↵brain
says they shouldnt but also says that the ircd should discard it if they do) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6881 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04Fix for bug #268, repeated messages on users who are already glinedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6880 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04If an op parts, joins or kicks then display the change to all, so that the ↵brain
non-opped clients dont see an opped user hanging around that quit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6879 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04Add MODE nag to debug snomask +dbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6878 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04Fix bug where if an op is in channel then does /names later, all the non-ops ↵brain
dissapear! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6877 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04Add <auditorium showops> which determines if auditorium works like ircnet +a ↵brain
(anonymous channels) or like unrealircd +u. The old behaviour is similar to anonymous channels, only showing the current user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6875 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04Cloaking of WHOIS didnt work quite right, fixedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6874 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04Forgot something important!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6873 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04Check visibility statesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6872 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04foolish human! you can't /mode query a user that isnt there!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6871 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04Fix /who to hide users marked invisibile in some way by a modulebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6870 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04Apply visibility state to whois, next stop, /whobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6869 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04Brain really must remember svn add.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6868 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04Where others charge, we give for free. Have fun and use wisely. With great ↵brain
power comes great responsbility. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6867 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04...And learn to spell rightbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6865 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04Do the same for KICK, but in the case of KICK, send to the user doing the ↵brain
kick AND the user being kicked only git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6864 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04When we silence the event, not even the user whos leaving/joining gets the ↵brain
output, make sure we send it to them in the module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6863 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04svn add helps, too. :<brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6862 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04First compilable commit of m_auditorium. Not yet tested IN ANY WAY.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6861 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-03Fix broken modules (broken due to api change)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6860 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-03Fix for new apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6859 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-03DO NOT USE THIS COMMIT - if you do, most of the modules wont work.brain
DEVS: Please fix all modules that have warnings to use the new parameters to OnUserJoin, OnUserPart and OnUserKick (bool &silent) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6858 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-01Implement feature request in bug #271 by HiroP, allow disabling of maxlocal ↵brain
and maxglobal by leaving out each value from the tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6857 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-01Much more detailed logging of lowlevel socket errors to the +l snomaskbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6856 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-01Fix crashbug in latest svn introduced by inspsocket cull list, which can ↵brain
cause a crash if the connection times out and an error occurs on the socket before its deleted git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6855 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-01Change a return NULL to a continue so that where host matches but port ↵brain
doesnt, skip the connect tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6854 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-01Move new listmode check deeper into the mode parser so that it doesnt ↵brain
generate spurious craq (thanks HiroP_) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6853 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-30Fix one issue, add another feature: When sending MODE +beI, weed out ↵brain
duplicates with simple O(1) check so that users dont send MODE #chan +bbbbbbbbbbbb. Allow configuration of which listmodes you want to deny to below halfops. For example <options hidemodes="eI">. This is because blocking +b can break mirc, blocking +eI usually wont break it so severely. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6852 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-28squash a compile warning found by giggsey.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6851 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-27Add support for hiding listmode lists such as +beI from unprivileged users.brain
See bug #258 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6849 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-27Add and document m_clones as requested by bug #267brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6848 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-27m_dnsbl stats should count no result as a missspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6847 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-26Fixed bug #266 (m_dnsbl stats), patch by satmdspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6846 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-26When running in nofork, keep the tty open (we were closing it, which meant ↵brain
that while we were in -nofork we would see no logs!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6845 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-26Make error reporting work properly, it seemed to loose errors.brain
First change: Add a culling list of inspsockets waiting to be closed, so the close() is less likely to be called before the buffer is entirely empty. This seems to work well on my LAN. Second change: Add a SendError() method, rather than WriteLine("ERROR : ..."). This can be used to effect by also echoing out "Sent ERROR to %s: ..." onto the +l snomask meaning at least one end will always see the error even if the ERROR command is lost due to latency or design of the transport (e.g. ssl which may be writing during a read event etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6844 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-25Added m_chancreate, which adds snomask +j to show when new channels are createdspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6837 e03df62e-2008-0410-955e-edbf42e46eb7