summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2007-06-13strip RSQUIT from protocol, part of new RSQUIT, not ready for use yet.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7285 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13I think this fixes visual studio odditiesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7284 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13Fixes for tokenization oddness with metadata, and weird behaviour of ↵brain
std::istringstream where the .str() method returns the whole string from the start to end, even AFTER youve read elements from it! Use irc::tokenstream instead and add some overridden methods to it. This is smarter as it reuses code and allows us to format metadata the same way we format irc data. NOTE: If you run any old servers alongside new servers (this revision) you might see spurious colons on the start of reasons for svsholds, cbans and filters. These can safely be ignored) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7283 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11The spelling nazis are amongst us!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7268 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-09A ton more clear() and empty() stuff thats been lingering on the long term ↵brain
todo for too long a term :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7264 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-07Add command /RSQUIT to spanningtree.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7251 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-06Add back remote kill handler for server origin killsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7249 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-06Patch fixing (almost) remote kill server notices, by just passing KILL onto ↵w00t
cmd_kill and not attempting to duplicate code for it in spanningtree. Dev: Two small issues are left with this, see comments in cmd_kill.cpp. Thanks, HiroP. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7248 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05Sexeger!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7241 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05Stdint being included when we dont even use it, without checking HAS_STDINT, ↵brain
thanks djGrrr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7235 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05Fix typos found by Zaba. Thanks.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7234 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-03Many changes: Implement Muisje's idea for prefix + separator on action ↵peavey
addnick. Switch to empty() checks on strings. Cleanup mem on module unload. Tidyup conf reading. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7226 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02and a little tweak to remote MOTD too.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7208 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02same for admin, and fix some returns.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7207 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02Fix for bug #297. /MODULES now correctly finds remote server on wildcard. ↵peavey
Marked for QA. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7206 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-31And remove soem debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7193 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-31Fix for issue discovered by satmd where it is possible to send an empty ↵brain
string via privmsg or notice to a user target, against the RFC standard. Remote servers don't like this much. Also fix: NOTICE generates OnUserNotice event, but checks against the I_OnUserMessage hook. Also also fix (!): Missing colons in "no text to send" message. BOTH of these also fixes have been around since like, 1.0 alpha 1, and nobody's noticed them! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7192 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-30Apply ipv6 #ifdef tidyup patch from djGrrr, thanks :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7190 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-29Fix bug #309 reported by Smartys - QA, please test quickly. Seems okay to me.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7189 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28No flags now means all flags when in the config, so that filters defined in ↵brain
older configs are forwards compatible git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7182 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28This works now! Still more to do though.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7181 e03df62e-2008-0410-955e-edbf42e46eb7
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