summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2007-05-28Make the flags workbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7180 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28Next bit of filter flags systembrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7179 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28Stuff for flags as requested by djGrr. We aren't going all-out rediculous ↵brain
amount of flags on this, we're sticking with the 5 or 6 easy to remember and lumping oper-immunity into the flags (see forums) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7178 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28A flags section for filters. Do not use yet.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7177 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28ipv6 ifdef tidyup by djGrrr, thanks :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7176 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28Display the proper transports for server ports *slap* :Pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7175 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28Remove code for clientcount/servercount from /stats p. At the moment it was ↵w00t
slow, hacky and doesn't totally work properly (bind 2 same ports on diff. ips and watch it get confused ;p). It may be added back in a few versions once we have the infrastructure in place to tie a list of clients to a port. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7174 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28Show IPs that a port is bound to in /stats p, don't remove duplicate ports ↵w00t
anymore, since we know what IP a port belongs to. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7173 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28Don't return CMD_SUCCESS. This command shouldn't go out on the wire.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7172 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28- Add server ports to /stats p. This doesn't work properly yet as something ↵w00t
is not initialising port correctly in a constructor I'd guess. It also does not enumerate connected servers to see how many connected on a given listener yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7170 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27Add m_cycle: server-side equivilant of /hop, except it overrides +ilk. For ↵w00t
the curious, this module took me under 5 minutes to write. (you said you didn't have time Naz? :P) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7168 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27Fix for bug #305, allow admin to select what port outbound ident requests ↵brain
bind to git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7167 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27...and remember the parameters ;)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7165 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27We were already sending FMODE +nt after each channel creation to keep ↵brain
services happy, just change this to send the servers default modes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7164 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27Whoops, ++it++? Thats gonna break :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7162 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27Another for bug #307brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7161 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26- Remove duplicate call to MatchText in filter.. it seems to work ok for me, ↵w00t
fingers crossed.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7145 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26- Fix some win32 warnings in a way that won't crash gcc compiles (I thought ↵w00t
I fixed this) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7144 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25Fix for bug #303 reported by HiroP, thanksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7136 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25Don't allow SVSHOLD from a non-ulined client. Thanks click.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7133 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-24Propagate the gunloadmodule command even if the module isn't loaded locally; ↵special
bug #299 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7132 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-24Somehow, the code which does the "assumption" that no prefix means 'that' ↵brain
server's name, got removed or broken. I've put it back, this would explain the commands with empty prefixes being echoed back during that java stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7131 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-23Commit patch by IronLegend, thanks :) -- Fixes bug #298brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7125 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-23One more with redundant ref to instance. I think this is the last one.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7124 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22Module class has a member ServerInstance, so remove any extra refs still ↵peavey
lingering in a few modules. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7123 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22- Fix two minor warnings here (catch (ModuleException& e) -> catch ↵w00t
(ModuleException), as we're not actually using e). Noted on w32, compiles ok, stab me if it breaks linux (I don't think it will.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7121 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22Bloody 'safe stl' warnings.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7120 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22Someone forgot the blindingly obvious - APPLY the glines/zlines you add! ↵brain
they dont apply themselves :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7112 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22This says ten minutes drift and should say five, fixedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7106 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21In this module we declare the md5 context as a class, then reference it in ↵brain
functions as struct MD5Context*. Not only does this make little sense readability wise, it triggers a warning in vs8. Fixed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7100 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21Move inspircd.h to topbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7099 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21Header rearrangement, move inspircd.h to top, remove stdio, stdlib, ↵brain
stdblahblah that we dont even use, remove redeclared <string>, <map>, <vector>. This (1) fixes the irc::string::move warnings on vc8 (2) speeds up compile a lot git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7098 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21Reverted broken patch.. This may break, but it's unlikely :pfrostycoolslug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7090 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20- Comment on the ifdef in here, to avoid people (like myself) going 'what ↵w00t
the fuck'. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7081 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20- Fix a small warning thrown by cl about unused local.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7061 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20Send CHANMODES= and PREFIX= in CAPAB CAPABILITIES.brain
Sorry, if you encounter a server < 1.1.8, youll have to guess by module name. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7055 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19SPACE INDENTING ACTION RANGERS -- ATTACK!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7048 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19Windows support. Tested and working to compile on freebsd and linux. Next ↵w00t
step is to make sure it actually works in windows too. ;p. Add Burlex to contributors. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-18Fixed a fairly low-risk crash in m_spanningtreespecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7042 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-18m_censor can now block lines as well, by specifying an empty replace string ↵special
(QA, test please, my dev server seems to be broken :P) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7041 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-17Fix broken return statements preventing blockchat and blocked files to be ↵brain
used individually. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7040 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-17Change the way i/o lines are formatted in debug log to make them more ↵brain
intuitive. Now includes a C or S to say if its client or server, plus the fd: Thu May 17 17:56:16 2007: C[15] -> :Brain MODE #test Thu May 17 17:56:17 2007: C[15] -> :Brain WHO #test git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7039 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16This is funny, in m_md5 we have an ancient comment from w00t that i forgot ↵brain
to remove that says "maybe this md5 stuff would be better in a dedicated md5 module". LOL. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7037 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16We announce a ping timeout THREE different times and ways on the server that ↵brain
sent the ping. this is excessive. Remove the announcement in DoPingChecks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7036 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16And fix another booboobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7035 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16Add a notice on connection close stating server link uptime, and fix a bug ↵brain
in m_opermodes which meant that its modes werent being replicated across servers (it was sending a totally malformed MODE command with the nick in twice, and has been doing this presumably since early 1.1's) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7034 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16Tidy logic a little in here, and support <options:exemptchanops>w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7033 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16Opers are not exempt from other modes, don't exempt them from +N (we may add ↵w00t
this back post 1.1.8 as a config setting) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7031 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16While rolling our own IS_LOCAL check with irc::string comparison is clever ↵w00t
(TM), it does seem a little redundant :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7030 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-14More tweaks from Eric, when an oper is invisible, attempting to /notice or ↵brain
/privmsg them returns 'no such nick' :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7026 e03df62e-2008-0410-955e-edbf42e46eb7