summaryrefslogtreecommitdiff
path: root/include/u_listmode.h
AgeCommit message (Collapse)Author
2008-11-01Second attempt at time() -> SI->Time(), now problems with the original were ↵w00t
fixed. (SI::TIME was not initialised). Thanks Namegduf! (Please test, all, valdebug etc, report odd behaviour/warnings!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10783 e03df62e-2008-0410-955e-edbf42e46eb7
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-09-30Fix for bug #604 reported by Phoenix, thanksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10612 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Speedupsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10414 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Nope w00t it wasnt the last :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10413 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Properly handle CIDR etc for user pointer extbansbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10412 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Make sure user is null when a literal is passedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10411 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Optional use of user objectbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10410 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Whoops left something outbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10409 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Newer extban-supporting listmode apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10407 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Match conversion stuff.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10216 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Revert automated conversion by Special, as it (unfortunately) neglects some ↵w00t
details. It provides a useful start point, though, so it'll be used as the basis for the final conversion. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10215 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Fix a lot of calls to match() and uses of wildcard.h (which doesn't exist ↵special
anymore) after w00t broke them. Still broken pending a few more changes (it's all w00t's fault.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10214 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-09Something we can do in 1.2 that we cant really do neatly in 1.1 - allow for ↵brain
the channel list sizes to be enforced only locally git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9882 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25Compile fixes, was forced to move some stuff aroundbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9804 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19Convert channel::name to std::string, this was a beastie!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9770 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18Make User:: nick/ident/dhost/fullname and some other things std::string ↵aquanight
instead of char*/char[] (MODULES DO NOT COMPILE) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9748 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18Remove .c_str()'s in match() calls that are no longer needed as match() ↵brain
natively takes std::strings git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9737 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-07Make u_listmode more sensible and make it properly use WriteNumeric, and a ↵brain
few other misc fixes found during today git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9659 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05fix some unitialised vectors and tidy up a bit.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9637 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04Convert a whole bunch morepeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9620 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04Convertingpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9619 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-02Fixes for bug #493, tidyups to clearing of channel modes on losing FJOIN. ↵brain
Module unloads may also be tidied at a future date but it means reordering some loops in mode.cpp. See around the comment added. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9283 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22Wheeee for HUGE commits. Convert all numerics to WriteNumeric so that ↵brain
OnNumeric can capture them. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9175 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-18Fix this first, as this actually has use of the new parameter same as ↵brain
cmode_b.cpp does git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8965 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11Add -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a ↵w00t
note to webirc that needs looking at. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8892 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-03Clear up header insanityw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8808 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10Header update: 2007 -> 2008w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-04And whoops, typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8534 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-04Fix these to use new hook system (u_listmode wasnt fixed yet)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8533 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-04Remove some unnecessary headers from places, commit working BanCacheManager ↵w00t
skeleton. Work in progress, ignore it for now. Doesn't do anything, either. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8487 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24Obnoxious -pedantic warningsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8344 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15In the grand tradition of huge fucking commits:w00t
- chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Remove the last uses of localised fake clients. This removes a lot of ↵w00t
allocations (and uses of UIDs), and cleans things up a bit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7943 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Remove an utterly insane comment .. based on changed by based on originally ↵w00t
by changed on the based of .. wtf git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7942 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Proper fix for end-of-list numerics on restricted lists in bug #386, rather ↵brain
than a hackish nonmodular one. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7838 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵peavey
auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17Comments (lots of, this was really lacking)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7383 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14MAXMODES+1 -> MAXMODES+2brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7318 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-27Change for reverse output of lists, most recent first, for bug #307. Also ↵brain
fix(Oms) annoying(Cuddled(Ifs())) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7160 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11Remove debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6654 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-10Fix the operator== for irc::string -> std::string to be const&, the lack of ↵brain
const was stopping them being used in certain situations, this saves us a bunch of assign() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6643 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-10Change mask variable to irc::string to allow for case insensitive ↵brain
removal/addition git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6642 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Someone left the colon off the 'end of list' numeric in u_listmode.h. I dont ↵brain
know what clients this might break git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6328 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Added interface 'ChannelBanList' that these two modules implement. Send a ↵brain
request class ListModeRequest to the module to check if a user is matched on a channel: const char* ismatched = ListModeRequest(this, targetmodule, someuser, somechan).Send(); ismatched will be NULL if theyre not matched by the modules list, or will contain the mask if they are matched. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6325 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-15And now, just to force you to recompile the *whole* ircd.. updated headers ↵w00t
on the headers. :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5998 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23Fix unloading of modules that use u_listmodebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5533 e03df62e-2008-0410-955e-edbf42e46eb7