aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* Add DllExportGravatar brain2007-06-132-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7289 e03df62e-2008-0410-955e-edbf42e46eb7
* Make these safe for use in vcGravatar brain2007-06-132-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7288 e03df62e-2008-0410-955e-edbf42e46eb7
* new rsquit command handler, this is still work in progress.Gravatar peavey2007-06-131-1/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7286 e03df62e-2008-0410-955e-edbf42e46eb7
* strip RSQUIT from protocol, part of new RSQUIT, not ready for use yet.Gravatar peavey2007-06-131-51/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7285 e03df62e-2008-0410-955e-edbf42e46eb7
* I think this fixes visual studio odditiesGravatar brain2007-06-132-2/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7284 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for tokenization oddness with metadata, and weird behaviour of ↵Gravatar brain2007-06-133-24/+24
| | | | | | | | | | 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
* The spelling nazis are amongst us!Gravatar brain2007-06-112-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7268 e03df62e-2008-0410-955e-edbf42e46eb7
* A ton more clear() and empty() stuff thats been lingering on the long term ↵Gravatar brain2007-06-0931-107/+101
| | | | | | todo for too long a term :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7264 e03df62e-2008-0410-955e-edbf42e46eb7
* Add command /RSQUIT to spanningtree.Gravatar peavey2007-06-074-3/+88
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7251 e03df62e-2008-0410-955e-edbf42e46eb7
* Add back remote kill handler for server origin killsGravatar brain2007-06-061-0/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7249 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch fixing (almost) remote kill server notices, by just passing KILL onto ↵Gravatar w00t2007-06-061-34/+0
| | | | | | 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
* Sexeger!Gravatar brain2007-06-055-9/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7241 e03df62e-2008-0410-955e-edbf42e46eb7
* Stdint being included when we dont even use it, without checking HAS_STDINT, ↵Gravatar brain2007-06-051-1/+0
| | | | | | thanks djGrrr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7235 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix typos found by Zaba. Thanks.Gravatar peavey2007-06-051-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7234 e03df62e-2008-0410-955e-edbf42e46eb7
* Many changes: Implement Muisje's idea for prefix + separator on action ↵Gravatar peavey2007-06-031-15/+22
| | | | | | 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
* and a little tweak to remote MOTD too.Gravatar peavey2007-06-021-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7208 e03df62e-2008-0410-955e-edbf42e46eb7
* same for admin, and fix some returns.Gravatar peavey2007-06-021-2/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7207 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #297. /MODULES now correctly finds remote server on wildcard. ↵Gravatar peavey2007-06-021-10/+17
| | | | | | Marked for QA. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7206 e03df62e-2008-0410-955e-edbf42e46eb7
* And remove soem debugGravatar brain2007-05-311-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7193 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for issue discovered by satmd where it is possible to send an empty ↵Gravatar brain2007-05-311-0/+1
| | | | | | | | | | | 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
* Apply ipv6 #ifdef tidyup patch from djGrrr, thanks :)Gravatar brain2007-05-305-20/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7190 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #309 reported by Smartys - QA, please test quickly. Seems okay to me.Gravatar w00t2007-05-291-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7189 e03df62e-2008-0410-955e-edbf42e46eb7
* No flags now means all flags when in the config, so that filters defined in ↵Gravatar brain2007-05-282-1/+7
| | | | | | older configs are forwards compatible git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7182 e03df62e-2008-0410-955e-edbf42e46eb7
* This works now! Still more to do though.Gravatar brain2007-05-281-6/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7181 e03df62e-2008-0410-955e-edbf42e46eb7
* Make the flags workGravatar brain2007-05-283-7/+33
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7180 e03df62e-2008-0410-955e-edbf42e46eb7
* Next bit of filter flags systemGravatar brain2007-05-283-5/+25
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7179 e03df62e-2008-0410-955e-edbf42e46eb7
* Stuff for flags as requested by djGrr. We aren't going all-out rediculous ↵Gravatar brain2007-05-283-39/+66
| | | | | | 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
* A flags section for filters. Do not use yet.Gravatar brain2007-05-283-18/+36
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7177 e03df62e-2008-0410-955e-edbf42e46eb7
* ipv6 ifdef tidyup by djGrrr, thanks :)Gravatar brain2007-05-281-5/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7176 e03df62e-2008-0410-955e-edbf42e46eb7
* Display the proper transports for server ports *slap* :PGravatar brain2007-05-281-1/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7175 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove code for clientcount/servercount from /stats p. At the moment it was ↵Gravatar w00t2007-05-281-16/+6
| | | | | | 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
* Show IPs that a port is bound to in /stats p, don't remove duplicate ports ↵Gravatar w00t2007-05-281-1/+4
| | | | | | 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
* Don't return CMD_SUCCESS. This command shouldn't go out on the wire.Gravatar w00t2007-05-281-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7172 e03df62e-2008-0410-955e-edbf42e46eb7
* - Add server ports to /stats p. This doesn't work properly yet as something ↵Gravatar w00t2007-05-281-0/+22
| | | | | | 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
* Add m_cycle: server-side equivilant of /hop, except it overrides +ilk. For ↵Gravatar w00t2007-05-271-0/+124
| | | | | | 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
* Fix for bug #305, allow admin to select what port outbound ident requests ↵Gravatar brain2007-05-272-6/+7
| | | | | | bind to git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7167 e03df62e-2008-0410-955e-edbf42e46eb7
* ...and remember the parameters ;)Gravatar brain2007-05-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7165 e03df62e-2008-0410-955e-edbf42e46eb7
* We were already sending FMODE +nt after each channel creation to keep ↵Gravatar brain2007-05-271-2/+1
| | | | | | 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
* Whoops, ++it++? Thats gonna break :pGravatar brain2007-05-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7162 e03df62e-2008-0410-955e-edbf42e46eb7
* Another for bug #307Gravatar brain2007-05-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7161 e03df62e-2008-0410-955e-edbf42e46eb7
* - Remove duplicate call to MatchText in filter.. it seems to work ok for me, ↵Gravatar w00t2007-05-261-2/+1
| | | | | | fingers crossed.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7145 e03df62e-2008-0410-955e-edbf42e46eb7
* - Fix some win32 warnings in a way that won't crash gcc compiles (I thought ↵Gravatar w00t2007-05-261-2/+2
| | | | | | I fixed this) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7144 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #303 reported by HiroP, thanksGravatar brain2007-05-252-3/+26
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7136 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't allow SVSHOLD from a non-ulined client. Thanks click.Gravatar w00t2007-05-251-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7133 e03df62e-2008-0410-955e-edbf42e46eb7
* Propagate the gunloadmodule command even if the module isn't loaded locally; ↵Gravatar special2007-05-241-5/+6
| | | | | | bug #299 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7132 e03df62e-2008-0410-955e-edbf42e46eb7
* Somehow, the code which does the "assumption" that no prefix means 'that' ↵Gravatar brain2007-05-241-1/+5
| | | | | | | | | 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
* Commit patch by IronLegend, thanks :) -- Fixes bug #298Gravatar brain2007-05-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7125 e03df62e-2008-0410-955e-edbf42e46eb7
* One more with redundant ref to instance. I think this is the last one.Gravatar peavey2007-05-231-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7124 e03df62e-2008-0410-955e-edbf42e46eb7
* Module class has a member ServerInstance, so remove any extra refs still ↵Gravatar peavey2007-05-224-31/+27
| | | | | | lingering in a few modules. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7123 e03df62e-2008-0410-955e-edbf42e46eb7
* - Fix two minor warnings here (catch (ModuleException& e) -> catch ↵Gravatar w00t2007-05-221-2/+2
| | | | | | (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