summaryrefslogtreecommitdiff
path: root/src/commands
AgeCommit message (Collapse)Author
2008-10-23Revert earlier time() -> SI->Time() diff for now, this causes problems with ↵w00t
dns.cpp in mysterious ways.. seemingly a bad pointer there somehow..? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10695 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-23Patch from Namegduf converting all instances (where possible) of time() -> ↵w00t
ServerInstance->Time(). Thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10691 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-22Only announce Q:Line hits on NICK from unregistered users, thanks satmd.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10685 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Tie settings in mode and whowas to privs.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10675 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Tie a number of /who settings to servers/auspex and users/auspex respectively.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10674 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Tie display of realhost in USERHOST to users/auspex priv.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10673 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Tie /stats that aren't explicitly marked for users into servers/auspex.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10672 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Tie module version display to servers/auspex priv.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10671 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Use servers/auspex and users/auspex privs where needed.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10669 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Implement channels/auspex priv for /names and /list.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10666 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Make use of privs for PRIVMSG also.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10663 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-18Working privs implementation, and example usage in NOTICE for mass messaging.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10662 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-25Fix faulty logic, glob patterns may not start with > or <. TODO: iterate ↵peavey
comma sep tokenlist to catch LIST >0,<10000 as other IRCDs do. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10598 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-20Fix a rather nasty race condition revealed by my reading through the ↵brain
comments and enhancing them. Back when i did executeable includes, i placed a 'todo' in the code which said something along the lines of: 'we cant pass a User* into the config reader any more, because when the config reader thread finishes, that user may be gone and this will crash. Consider using an UID instead so that if the user vanishes, we can detect this situation.' Of course, nobody ever did this, so i'm doing it now to ensure we dont come up against some particularly ugly race condition crashes! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10569 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Invite timeout on server-to-server is already a unix timestampw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10452 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29Tidier /modules generation. faster for non-opers, neater for all, and doesnt ↵brain
use all the strlcpys on stuff that isnt needed any more git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10354 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29Fix extra End of /STATS on spanningtree override of stats c and n.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10350 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29I was told that a new dev's first action must be adding himself to /info, sopsychon
here it is. Enjoy! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10347 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28Rename lowermap to rfc_case_insensitive_map, add case_sensitive_map.. adjust ↵w00t
files to not pass lowermap directly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10337 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27Clean up opering a tiny bit.. pave the way for SVSOPERw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10324 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27USERHOST/USERIP fix, return '-' char, not '+' if the user is away. Thanks ↵w00t
jilles. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10319 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-26Someone messed this upbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10300 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Change module versions to use a string instead of fixed digits, and use ↵w00t
propset ID to auto-set versions, so we don't have (essentially unused) module versions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Implement /who 1d t (search for who matches for users connected for a given ↵w00t
time) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10278 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Add opt_time to WHO (will be /who +t flag) and clean the fuck up ↵w00t
CommandWho::whomatch, which was as ugly as sin. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10274 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-23Remove unused itab arrayw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10227 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21match() is no longer a function+no header, now a static method of InspIRCd ↵w00t
class, blah blah blah. Also rip out the 1.2 matcher, as it was slow, and replace it with one adapted from znc, which happens to be a tiny bit faster than 1.1's (and the fastest I've seen so far that works properly) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10212 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-20properly coreexport the getcpu() function etcbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10184 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-20We can finally have percent cpu in the stats z on windows now, same as it is ↵brain
on linux. The windows one surprisingly enough is more accurate than the linux one as posix gives no standard way of obtaining this. :-) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10181 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-18Forward-port r10160: openssl partial write fucking shit up, add Namegduf to ↵w00t
contributors git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10161 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-17These are not percentagesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10150 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-07Always deny invite to users below halfop status, move OnUserPreInvite up to ↵w00t
above that access check, and allow a return of -1 to bypass the check. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10115 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-06Hoorayw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10111 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-06Give feedback to remote usersw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10110 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-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-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-20More numerics.h conversionw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10049 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-16Add psychon to regular contributorsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10025 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-15Send ERR_NOTREGISTERED to clients that send SERVER on a client port with a ↵w00t
text that tells them what they are doing wrong. Should help them debug it themselves. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10023 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13Convert more stuff to use numerics.h, change SERVER to send ↵w00t
ERR_ALREADYREGISTERED instead of picking a random numeric. Also no longer send a notice to opers, as 1) this could flood and 2) stupid things like cgiirc will trigger this a lot. Additionally, add a note to REHASH about finding a way to kill rehash thread if needed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10013 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Don't add a 10 second penalty to all connecting users (this was accidental)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9974 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-11Convert API to use std::string, fixes my slight bug from earlier and looks ↵w00t
tidier git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9956 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-02Back out the incomplete linebuffering stuff that shouldn't have been committed..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9948 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-02Forward port r9946: make SVSHOLD silent to avoid useless irritation to opersw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9947 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18more fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9922 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18more fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9921 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18Measure bandwidth statistics from the socket engine (kiloBITS per second in, ↵brain
out, total) and display them in /stats z plus send them via the named pipe to the windows gui git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9918 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18Add the rest of the stuff for named pipe comms, including feedback ↵brain
information, and fix a bug in configreader that made it load the core commands every rehash git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9913 e03df62e-2008-0410-955e-edbf42e46eb7